Questions tagged [keycloak-js]
25 questions
0
votes
0 answers
Verifying token in a loop when I refresh my browser when browser inspect tool is opened (keycloak-js)
I have a React application that is getting reloaded in a loop when I press the refresh button, I observed the string "&state.." is getting added and removed from the URL in a loop. I am able to reproduce this issue through these steps.
Open the…

Suvel Mano
- 23
- 4
0
votes
0 answers
Cookies are blocked by Brave when using keycloak
I have a running Keycloak instance on auth.example.com and my app is running on example.io.
Brave Shield is blocking CORS cookies, so the cookie is not sent to the /protocol/openid-connect/token/ and therefore I get a 400 result.
What is the best…

cre8
- 13,012
- 8
- 37
- 61
0
votes
2 answers
keycloak.authenticated is alway false even after successful login in @react-keycloak/web
I have a very simple react app and I want to add keycloak authentication to it's pages. I'm using following versions
react v18
keycloak 18.0.0 (with quarkus)
react-keycloak/web: 3.4.0
keycloak-js: 20.0.3
react-router-dom: 6.8.1
These are my…

Ruchira Nawarathna
- 1,137
- 17
- 30
0
votes
1 answer
React-Keycloak keeps refreshing
I am trying to use keycloak to secure a React application.
I am using two packages: React-keycloak and keycloak-js.
This is my keycloak provider

Claude Hasler
- 396
- 1
- 14
0
votes
0 answers
When the redirectURI in the keycloak in http://localhost:3000/admin/home is working fine but when url has queryparams its throwing 502 error page
When the redirectURI in the keycloak in http://localhost:3000/admin/home is working fine but when url has queryparams its throwing 502 error page
working URL:-http://localhost:3000/admin/home
Not working URL:-…

Anand Gautam
- 3
- 1
0
votes
0 answers
initialized keycloak instance unable to automatically authenticate in PKCE
I have a react application that using keycloak for some protected routes. I am creating a new keycloak instance with the following json :
{
"realm": "demo",
"auth-server-url": "http://localhost:8080/auth/",
"ssl-required": "external",
…

Anandu Babu
- 31
- 7
0
votes
0 answers
how i can give more params on keycloack-js, i want to add code_challange and code_challange_method on keycoack-js
Please help me to solve this problem, how i can give more params on keycloack-js, i want to add code_challange and code_challange_method on keycoack-js, please help me solve this problem
enter image description here

Hans
- 1
0
votes
0 answers
How do I say to the keycloak instance that the user is authenticated?
I am trying to create my own keycloak adapter for keycloak-js because I am using a non-supported adapter, and I am having problems understanding how to handle a successful login.
When I do new Keycloak() all the on events are undefined. In the…

distante
- 6,438
- 6
- 48
- 90
-2
votes
1 answer
What is the proper angular keycloak version to use with keycloak-js 18.0.0 while I have angular-js 1.6.0 in my application?
When a user attempts logout/SIGNOUT from GUI using the SIGNOUT button provided in GUI, SIGNOUT is not happening and user gets an error page stating ‘Invalid parameter: redirect_uri’
Angular-js: 1.6.0
keyCloak: 18.0.0

Deshan
- 11
- 5