Set custom cookie in Actions

Hi @jasekdominik34,

Welcome to the Auth0 Community!

Unfortunately, it is not possible to set a custom cookie in Actions. Instead, we recommend using the state to redirect users after login. You can find more information in this reference post.

Check out our documentation on using state to redirect users after login.

Yes, you can clear the session cookie by sending the user to the logout endpoint. Refer to the following FAQ for details: Clear Auth0 session cookie inside Action

Feel free to reach out if you have any further questions.

Thanks,
Rueben