Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

None of the OAuth methods seem to work #118

Open
dashrandom opened this issue Jan 22, 2024 · 9 comments
Open

None of the OAuth methods seem to work #118

dashrandom opened this issue Jan 22, 2024 · 9 comments

Comments

@dashrandom
Copy link

I've tried setting up Google OAuth2 and Github OAuth but it seems that Tabby Web is unable to parse the OAuth response properly.

Not sure why this is happening, just for context, I had Tabby running on a reverse proxy (Traefik) and Cloudflare proxying my DNS requests to the server. I would love to disable either of them for testing but OAuth redirect URIs need to be HTTPS enabled and disabling either will impact HTTPS as I'm using an ACME DNS-01 challenge for my SSL certs...

image

@dashrandom
Copy link
Author

I'm getting this for Github but I triple checked the client ID and secret and I'm sure they are right... I have no idea what is going on.

image

@ency98
Copy link

ency98 commented Feb 27, 2024

Did you ever sort this out? I'm having the same issue.

@dashrandom
Copy link
Author

@ency98 unfortunately not :(

@keiko233
Copy link

keiko233 commented Mar 15, 2024

image

If you use a reverse proxy.
Replace your Authorization callback URL to http://yourdomain.com/api/1/auth/social/complete/github/.
Do not fill in https, even if your domain name is https.

You may also need to configure http 302 to jump to https.

@dashrandom
Copy link
Author

image

Unfortunately not possible if my app is in production status for google oauth... I tried for Github and because my application is hosted only on HTTPS and not HTTP, the callback URI is reflecting as not matching...

image

@keiko233
Copy link

so bad.
It may be modify source code to completely solve this problem

@joggs
Copy link

joggs commented Apr 12, 2024

This project seems dead. Are there other projects that works well you can suggest?

@ency98
Copy link

ency98 commented Apr 15, 2024

I setup teleport. It's not the same type of thing but it gets the job done. I also setup a Kasm server and have had some decent success with using their terminal container with a persistent storage. But I have not found a good ssh web client. SSHwifty is also an option but I found it a bit limited for what I needed to do.

@Steltek
Copy link

Steltek commented Oct 28, 2024

If you use a reverse proxy. Replace your Authorization callback URL to http://yourdomain.com/api/1/auth/social/complete/github/. Do not fill in https, even if your domain name is https.

You may also need to configure http 302 to jump to https.

You cannot use http:// redirect URIs with most providers these days (They require https).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants