Cloudflare Access logout page customization / redirect

Hey, love Cloudflare and its Access product. Looks very simple unless you get to details like me :slight_smile:

We want to present option to logout on our webpage and we do this with redirection to: https:/company.cloudflareaccess.com/cdn-cgi/access/logout
At the end of this, you see a logout page.

Question / Option 1: Is it possible to modify this logout page?
Question / Option 2: Is it possible to do some kind of redirect? Example: https://company.cloudflareaccess.com/cdn-cgi/access/logout?redirect=https://company.byebye.page.com

Thank you

SOLUTION:
I found out through other channels following which works (not sure why is not part of docs):

We actually support “returnTo” parameter for the logout URL with restriction.

/logout: restricted returnTo param to the requesting authdomain, cloudflare.com subdomains, and all apps (including wildcard apps) under the same organization.

/cli: restricted redirect_url param to all apps (including wildcard apps) under same organization

/login: restricted redirect_url param to relative paths

A feature request was logged for this today actually based on a support ticket. Not sure when/if it will be built (doesn’t exist at the moment) but the product team was discussing it.

3 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.