mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 18:23:08 +03:00
1.1 KiB
1.1 KiB
id
| id |
|---|
| gitea |
Gitea
Pocket ID Setup
- In Pocket ID, create a new OIDC client named
Gitea(or any name you prefer). - (Optional) Set a logo for the OIDC client.
- Set the callback URL to:
https://<Gitea Host>/user/oauth2/PocketID/callback - Copy the
Client ID,Client Secret, andOIDC Discovery URLfor the next steps.
Gitea Setup
- Log in to Gitea as an admin.
- Go to Site Administration → Identity & Access → Authentication Sources.
- Click Add Authentication Source.
- Set Authentication Type to
OAuth2. - Set Authentication Name to
PocketID.
:::important
If you change this name, update the callback URL in Pocket ID to match.
::: - Set OAuth2 Provider to
OpenID Connect. - Enter the
Client IDinto the Client ID (Key) field. - Enter the
Client Secretinto the Client Secret field. - Enter the
OIDC Discovery URLinto the OpenID Connect Auto Discovery URL field. - Enable Skip local 2FA.
- Set Additional Scopes to
openid email profile. - Save the settings and test the OAuth login.