mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-23 01:11:49 +03:00
1.0 KiB
1.0 KiB
id
| id |
|---|
| memos |
Memos
Pocket ID Setup
- In Pocket ID, create a new OIDC client named
Memos(or any name you prefer). - (Optional) Set a logo for the OIDC client.
- Set the callback URL to:
https://< Memos Host >/auth/callback - Copy the
Client ID,Client Secret,Authorization endpoint,Token endpoint, andUser endpointfor the next steps.
Gitea Setup
- Log in to Memos as an admin.
- Go to Settings → SSO → Create.
- Set Template to
Custom. - Enter the
Client IDinto the Client ID field. - Enter the
Client Secretinto the Client secret field. - Enter the
Authorization URLinto the Authorization endpoint field. - Enter the
Token URLinto the Token endpoint field. - Enter the
Userinfo URLinto the User endpoint field. - Set Scopes to
openid email profile. - Set Identifier to
preferred_username - Set Display Name to
profile. - Set Email to
email. - Save the settings and test the OAuth login.