What's to be set as Authorization callback URL for a oauth2 authentication? #5665

Closed
opened 2025-11-02 06:32:26 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @liergou99 on GitHub (Jul 1, 2020).

I added oauth2 authentication login in gitea, which has been configured in gitea, but oauth2 needs to configure the callback url. I did not find how to configure it in gitea's documentation.
https://docs.gitea.io/en-us/oauth2-provider/

Originally created by @liergou99 on GitHub (Jul 1, 2020). I added oauth2 authentication login in gitea, which has been configured in gitea, but oauth2 needs to configure the callback url. I did not find how to configure it in gitea's documentation. https://docs.gitea.io/en-us/oauth2-provider/
GiteaMirror added the issue/stale label 2025-11-02 06:32:26 -06:00
Author
Owner

@liergou99 commented on GitHub (Jul 1, 2020):

I tried to configure the callback url to http://ip:port/user/oauth2/my_name/callback, but no authentication passed。
图片
http://ip:port/user/oauth2/taiji/callback?code=klEvTs&state=5f896392-a35f-4f87-85aa-5b56a75df1da

@liergou99 commented on GitHub (Jul 1, 2020): I tried to configure the callback url to http://ip:port/user/oauth2/my_name/callback, but no authentication passed。 ![图片](https://user-images.githubusercontent.com/35592438/86226473-4ee48180-bbbe-11ea-85b0-38de409b0313.png) http://ip:port/user/oauth2/taiji/callback?code=klEvTs&state=5f896392-a35f-4f87-85aa-5b56a75df1da
Author
Owner

@stale[bot] commented on GitHub (Aug 30, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Aug 30, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Sep 14, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Sep 14, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5665