mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-20 05:09:24 +00:00
1.2 KiB
1.2 KiB
id
| id |
|---|
| cloudflare-zero-trust |
Cloudflare Zero Trust
Note: Cloudflare will need to be able to reach your Pocket ID instance and vice versa for this to work correctly
Pocket ID Setup
- In Pocket-ID create a new OIDC Client, name it i.e.
Cloudflare Zero Trust. - Set a logo for this OIDC Client if you would like too.
- Set the callback URL to:
https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callback. - Copy the Client ID, Client Secret, Authorization URL, Token URL, and Certificate URL for the next steps.
Cloudflare Zero Trust Setup
- Login to Cloudflare Zero Trust Dashboard.
- Navigate to Settings > Authentication > Login Methods.
- Click
Add Newunder login methods. - Create a name for the new login method.
- Paste in the
Client IDfrom Pocket ID into theApp IDfield. - Paste the
Client Secretfrom Pocket ID into theClient Secretfield. - Paste the
Authorization URLfrom Pocket ID into theAuth URLfield. - Paste the
Token URLfrom Pocket ID into theToken URLfield. - Paste the
Certificate URLfrom Pocket ID into theCertificate URLfield. - Save the new login method and test to make sure it works with cloudflare.