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 New
under login methods. - Create a name for the new login method.
- Paste in the
Client ID
from Pocket ID into theApp ID
field. - Paste the
Client Secret
from Pocket ID into theClient Secret
field. - Paste the
Authorization URL
from Pocket ID into theAuth URL
field. - Paste the
Token URL
from Pocket ID into theToken URL
field. - Paste the
Certificate URL
from Pocket ID into theCertificate URL
field. - Save the new login method and test to make sure it works with cloudflare.