Comments (6)
Hi,
Sorry but coming back to this after a few months, now to simply add a new tabby instance on a new PC and unable to connect back to my own hosted tabby-web instance with github :
Alway having the error :
Django Version: | 3.2.11 |
---|---|
AuthFailed | |
Authentication failed: The redirect_uri MUST match the registered callback URL for this application. |
It seems the problem is still with the HTTP/HTTPS, I don't know why the callback_url seems to be build with HTTP instead of HTTPS ...
IMHO, this project lacks of documentation to properly lead the user to the good way of authenticating with callback urls and github, google ...
Tried with Github : unable to connect back to my current instance and so unable to recover my saved configs ... How to get access back to my configs please ?
Tried with Google Oauth2 : very complicated ... got a 400 error with redirect_uri_mismatch error also : HTTP can't be used with Google
Why not used an internal local authentication process rather than using a very complicated process with external providers, further more with a self hosted application ?
Regards,
Laurent
from tabby-web.
You need to register your instance as an OAuth app here: https://github.com/settings/applications/new and generate an OAuth secret which you can then pass via the environment variable.
GitHub will ask you for a Callback URL
, which is https://<your-host>/api/1/auth/social/complete/github/
from tabby-web.
You need to register your instance as an OAuth app here: https://github.com/settings/applications/new and generate an OAuth secret which you can then pass via the environment variable.
GitHub will ask you for a
Callback URL
, which ishttps://<your-host>/api/1/auth/social/complete/github/
Thks for answer, generated secret and took the Client ID for the SOCIAL_AUTH_GITHUB_KEY but when trying to log in still the same 404 page returned by github at this address :
https://github.com/login/oauth/authorize?client_id=None&redirect_uri=http://<myhost.domain.tld>/api/1/auth/social/complete/github/&state=ze8bOZWjsWW62m2KBQdkGj3kxNJ3g9lk&response_type=code&scope=read:user,user:email
Did I miss something ?
Thks !
from tabby-web.
now having :
AuthFailed at /api/1/auth/social/complete/github/
Authentication failed: The redirect_uri MUST match the registered callback URL for this application.
Finally understood that I needed to made the Callback URL to HTTP rather than HTTPS, don't understand why but everything seems to be OK for now, thks for help :)
from tabby-web.
👍 glad you've figured it out
from tabby-web.
+1
from tabby-web.
Related Issues (20)
- Question - GitHub Callback URL HOT 1
- Integrate the RUST lsp HOT 4
- Yarn build not succeeding in Docker-Compose HOT 1
- A few issues with deploying the app by myself
- Issue Deploying with docker compose HOT 3
- 404 Client Error: Not Found for url: https://github.com/login/oauth/access_token HOT 3
- why is a selfhosted service using a forced oauth model with external providers!? HOT 2
- Error: Unknown message digest
- What's the benefit of not building this for a convenience pull instead of making people build tabby web locally?
- No local logins? I don't plan on getting an o-auth provider account anywhere will there ever be an account management for local users? HOT 3
- /app-dist/1.0.163/tabby-web-container Not Found HOT 2
- None of the OAuth methods seem to work HOT 8
- "Table 'tabby.app_user' doesn't exist" HOT 6
- MicrosoftGraph Single Tenant issue
- telnet not working
- Regarding the issue of using Ctrl+Space to show or hide the Tabby window
- download plugin always loading
- why Authentication failed: The redirect_uri MUST match the registered callback URL for this application.
- why Invalid HTTP_HOST header: 'aa.com'. The domain name provided is not valid according to RFC 1034/1035
- Support for Self-Hosted OIDC HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabby-web.