It is possible to change AccessToken cookie name?
It is possible to change AccessToken cookie name?
Hello @drakoo320
Not currently, no. Do you need to change it? It could probably be implemented. What is your use case for this?
Cookies are saved per domain. I host applications on a single domain, e.g., domain.com/client1 domain.com/client2 And these connect to the target server using ARR. If all applications have the same cookie name, they cannot be used simultaneously. Logging in to one will log you out of the other.
Doesn't this seem like more of a job for the cookie's path, rather than it's name?
This may be the solution, but can this be set in Blazor.Auth?
Not at the moment.
Will consider allowing configuring either cookie name of its path in one of the future versions.