-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
OAuth2 with custom provider #563
Comments
Your report is appreciated. Please star this repository to motivate its developers! ⭐ |
Please anyone? The provider return a cookie with 2 values (bwen, wen), should I change something on my side? Or on the provider side? |
Hi, I already starred the project after the first message. I would like to do more but I'm not in position to take this choice by myself and considering the auth it's not working I cannot still ask for it |
so, the problem is that your provider uses self sign certificate, can you do/change it to letsencrypt ? |
so as I wrote above, please use letsencrypt or add exception for your self generated certificate. The issue will be closed. |
Hi all,
this is my configuration:
"oauth2": { "enable": true, "client_id": "XXX", "client_secret": "XXX", "project_id": "APP-XXX", "auth_uri": "https://XXX/authorize", "token_uri": "https://XXX/access_token", "redirect_uri": "https://homer/api/v3/oauth2", "profile_url": "https://XXX/userinfo", "provider_name": "auth", "scope": ["email", "openid", "profile"], "provider_image": "" },
I get the login page, but when i get redirected to redirect + / + provider_name i get this page:
{"message":"invalid or expired jwt"}
I tried changing the redirect_uri as "https://homer/api/v3/oauth2/auth" and the provider_name as "myprovidername" but then I get:
{"data":{},"message":"Post "https://XXX/access_token\": tls: failed to verify certificate: x509: certificate signed by unknown authority"}
The text was updated successfully, but these errors were encountered: