Hey, in Login Flow Action, is it possible to set custom cookie?
So far, I can think of redirecting user to some endpoint in my app. This redirect would include
Set-Cookie header. Then, my app would immediately redirect back to auth0 login flow. This way we can set a cookie for a user.
But there is extra redirect which needs to be done. This will cause troubles for silent authentication, because redirect is not possible there.
Followup question: What about deleting this cookie on logout? We could use
redirect URL to redirect user to my app, which handles deleting cookie. Downside of this is that all apps should use the same
logout URL. Isn’t there any Logout flow action?