query string repeated after login with keycloak 25 and angular integration

145 views
Skip to first unread message

uday kumar

unread,
Jul 16, 2024, 2:32:34 AM7/16/24
to Keycloak User

HI Team,

my web application uses KC 16 with angular and its working fine

I have upgraded key cloak latest version 25.0.1 , its working fine as individual

I am trying to integrate with web application which uses angular ,
its shows login page and after login the query string repeated like below pic



KC25issue.png

Romain LABAT

unread,
Jul 18, 2024, 4:58:38 AM7/18/24
to uday kumar, Keycloak User
Hi,

I think you missed the upgrading guide.
In version 25, we removed the nonce and session_state claim in access_token.
You can read details here: 
  1. upgrade keycloak js lin to latest version.
  2. add manually nonce and session_state backward compatible mapper

I had an old angular app that faced this issue as well during migration. I did add manually both claims on the client directly.

I can explain how I achieve this:
  • Go to client page on client scopes tab, and edit the -dedicated client scope
  • image.png


  • image.png
  • Then you can add session_state abd nonce claim


--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/3fce2157-6d3d-4412-ad48-4060afe93f80n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages