Is there a way to set the path for the JWT Refresh token cookie #1445
Unanswered
SmitharyZach
asked this question in
Q&A
Replies: 1 comment
-
|
See guide [JWT refresh token ](https://guides.micronaut.io/latest/micronaut-security-jwt-gradle-java.html#issuing-a-refresh-token |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to access the JWT_REFRESH_TOKEN and the cookie has the path set to /oauth/access_token. I can update the endpoint path but would like to just update the cookie path.
Token.JWT.Cookie.cooke-path is for the jwt token only. See the pic below:

I am trying to access this cookie using Next JS server side rendering. When trying to refresh the token the request that comes from server side props is not /oauth/access_token so I can't get it to refresh it. Let me know if that makes sense or if you have any ideas. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions