I want to redirect my multitenant users to the page they were on after they logout
ie if a user on that secured page //domain/tenant1/securedpage logs out I want to redirect him to that same page. Or at the very least to the tenant’s home page, in that case //domain/tenant1
I understand that I have to whitelist the logout urls but when you’ve got 250 tenants how do you manage that when you have 100 pages per tenants?
Also how do you implement that when using the Nextjs-auth0 sdk?
Please help me, I’m blocked. thanks!