-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 MS Azure not working #6866
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
Comments
Have #6345 fixed your problem? |
I tried #6345 before opening the issue |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
[x]
):Description
I configured an Authentication Source using this guide https://blog.anoff.io/2019-03-23-configure-azure-ad-for-gitea/ so I can use Azure Active Directory for authenticate the users.
After the 2FA, the browser shows the error
AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application
. I checked the redirect_uri and it has this format:https://<host>:3000/user/oauth2/gitea/callback
gitea.log has this error when I go to that page (with error 500):
routers/user/auth.go:560 handleOAuth2SignIn()] [E] UserSignIn: could not find a matching session for this request
I'm using MariaDB Ver 15.1 Distrib 10.0.30-MariaDB
Screenshots
The text was updated successfully, but these errors were encountered: