Login with OAuth #598

Open
opened 2023-10-07 17:02:11 +00:00 by hickford · 1 comment

Instead of having to create a token for tea in Gitea manually, you should be able to login with OAuth.

Tea would be a OAuth native app using library https://github.com/golang/oauth2

Define universal OAuth credentials so that it works with all instances https://github.com/go-gitea/gitea/pull/27509

Instead of having to create a token for tea in Gitea manually, you should be able to login with OAuth. Tea would be a OAuth native app using library https://github.com/golang/oauth2 Define universal OAuth credentials so that it works with all instances https://github.com/go-gitea/gitea/pull/27509
Author

Implementation using oauth2 library would look similar to 660f3d811b/main.go (L359-L429)

URLs for Gitea endpoints https://docs.gitea.com/next/development/oauth2-provider#endpoints

Implementation using oauth2 library would look similar to https://github.com/hickford/git-credential-oauth/blob/660f3d811b4108d0b6259046afd25b3b3b06be9d/main.go#L359-L429 URLs for Gitea endpoints https://docs.gitea.com/next/development/oauth2-provider#endpoints
lunny added the
kind
feature
label 2023-10-08 02:51:49 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#598
No description provided.