Hey, love Cloudflare and its Access product. Looks very simple unless you get to details like me
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
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