-
-
Notifications
You must be signed in to change notification settings - Fork 5
Configuring EYEdP as an IdP for Gitea
Chris MacNaughton edited this page Jun 15, 2019
·
1 revision
To configure Gitea, you should visit the "Authentication Sources" tab in the admin interface:
On that page, you should click the "Add Authentication Source" button on the right side, which will bring you to the form to input your details.
- Authentication Type should be "Oauth2"
- Authentication Name should be what you publicly call the authentication source
- Oauth2 Provider should be "OpenID Connect"
- Client ID / Secret should match the configured options in EYEdP
- the Auto Discovery URL should look like: "https://link.to.your.idp/.well-known/openid-configuration"
These details can be seen in this screenshot:
To finish configuring your Identity provider for Gitea, you should configure the Redirect URL in EYEdP as "https://path.to.your.gitea/user/oauth2/$AuthenticationName/callback" where $AuthenticationName is what you configured the name as above. This URL must be a TLS endpoint.