Open joveth1 opened 7 months ago
After change my project to "keycloak-js": "23.0.7" the result is ok. In network i saw two auth requests. In the dashboard the request like this:
Different is the iss param
redirect URL 是你要跳转的项目地址,不能是*
try to add useNonce: false in init section
I'm use vue2 , the config like this.
When login success and redirect to the dashboard, It's will redirect to the keycloak page again with error :Invalid parameter: redirect_uri
The browser url like this: http://172.1.101.10:8780/realms/sup/protocol/openid-connect/auth?client_id=one-ui&redirect_uri=http%3A%2F%2Flocalhost%3A8011%2Fone%2Fdashboard%23iss%3Dhttp%253A%252F%252F172.1.101.10%253A8780%252Frealms%252Fsup%23reloaded&state=7687d636-a26f-4c23-8ed7-1d8a506ca399&response_mode=fragment&response_type=code&scope=openid&nonce=3d318315-ad02-4ea7-8a9c-ed208a8d1c3b
In my keycloak project ,I have set Valid redirect URIs to *
Need Help!
Thanks!