You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So going out you can set a prefix for both the JWT cookie and the refresh token cookie, but coming in the OauthController the JWT_REFRESH_TOKEN is hard coded with no prefix, so you can set a prefix going out but it wouldn't be checked coming back. One of my coworkers was working on this trying to get it going but I know he won't have time to put in a ticket for it so I am.
Feature description
So going out you can set a prefix for both the JWT cookie and the refresh token cookie, but coming in the OauthController the JWT_REFRESH_TOKEN is hard coded with no prefix, so you can set a prefix going out but it wouldn't be checked coming back. One of my coworkers was working on this trying to get it going but I know he won't have time to put in a ticket for it so I am.
The prefix can be set with:
Where the cookie is hard coded is here:
https://github.com/micronaut-projects/micronaut-security/blob/4.9.x/security/src/main/java/io/micronaut/security/endpoints/OauthController.java#L99
https://github.com/micronaut-projects/micronaut-security/blob/4.9.x/security/src/main/java/io/micronaut/security/endpoints/OauthController.java#L114
The text was updated successfully, but these errors were encountered: