Replies: 1 comment
-
Client secret field is not mandatory, so I just configured client as public, leave client secret field blank. In a plugin I've added an action
In afterLogin method I set two cookies for keycloak token and refresh token.
In javascript I initialize keycloak with
Everything seems to work as expected. Before move in production I would like to be sure I'm not doing anything wrong. |
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
-
I've exacly the same problem raised in this support topic .
I would like to know what's the right way to retrieve/renew an access token for currently logged in user to use from javascript. I need a token to authenticate ajax requests.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions