Questions tagged [keycloak]
Keycloak is an integrated single sign-on (SSO) and identity manager (IDM) for browser apps and RESTful web services. It is built on top of JBoss and WildFly, it complies with the OAuth 2.0, Open ID Connect (OIDC), JSON Web Token (JWT) and SAML 2.0 specifications.
keycloak
8,055
questions
0
votes
0
answers
9
views
Angular Keycloak using pkceMethod S256 Error and not able to display data
Im new here with Keycloak angular..
I am facing these error and not able to understand and debug.
ERROR undefined:
Zone - Promise.then (async)
(anonymous) @ app.module.ts:98
Promise.then (async)
8835 ...
1
vote
0
answers
145
views
How to access user-defined claims in a custom Keycloak protocol mapper?
Goal / Context
I have a workflow in which information about my users is scattered between my client, Keycloak, and an internal database.
Based on a given claim_token, I want to perform a lookup to ...
0
votes
0
answers
13
views
Keycloak Unable to login via OAuth (Portainer)
I'm trying to configure OAuth for Portainer via Keycloak. Everything is done as described in various guides, but I still can't get it to work.
Here is my docker-compose.yaml:
yaml
Copy code
version: '...
0
votes
0
answers
14
views
Keycloak: Multiple authentication methods after login
In Keycloak I am trying to create an authentication flow which requires the user to log in and then let it choose from either the OTP Form Method or the WebAuthn Method.
I must assume that some users ...
0
votes
0
answers
17
views
Use .env variables in Keycloak Admin Console Client configuration
Checking Keycloak's default clients for a new realm, you can find this kind of value, for example, in security-admin-console, the Rool URL is ${authAdminUrl}. That translates to localhost:8080 in my ...
0
votes
0
answers
10
views
next-auth & keycloak access token problem and showing wrong user after refreshing page
I have a nextjs 14 project. I use "next-auth": "^4.24.5" and Keycloak for authentication. Recently I have found an odd problem. Somedays it does not happen, somedays it happens a ...
0
votes
0
answers
38
views
Using multiple JWT schemes with SignalR WebSocket Hub in ASP.NET Core 8.0
I am unable to get claims because user is not authenticating while connecting to signalr web socket hub. I have sent the token in query string as mentioned here. I want to use multiple JWT scheme ...
0
votes
0
answers
9
views
Keycloack get the secondary access token
Im filling in for another developer atm, so i dont know the full details nor the implementation, but i try to explain it to the best of my knowledge.
We have a keykloack setup for authentication, user ...
0
votes
0
answers
16
views
Keycloak Admin Client - Unrecognized Field "userProfileMetadata" Error Despite Field Not Present in JSON
I am encountering a persistent issue when trying to create a user in Keycloak using the Keycloak Admin Client. Despite ensuring that the userProfileMetadata field is not present in the JSON payload, ...
0
votes
1
answer
23
views
keycloak skips OTP when a user creates an account
We want to force the user to use OTP when it tries to login to a specific client.
What we have done so far.
We made a copy of the "browser" authentication flow and named it "browser otp&...
0
votes
1
answer
30
views
Choosing an OIDC flow for WebAuthn when using Keycloak
I am new to OIDC and WebAuthn. I want to provide a progressive passwordless experience for my users. I understand that passkeys are supported by Windows/Mac/iOS/Android.
I want to configure a Keycloak ...
0
votes
0
answers
14
views
How to Change the ID of Username and Password Input Fields in Keycloak Login Page?
I am using Keycloak for authentication in my application, and I need to customize the login page. Specifically, I need to change the IDs of the username and password input fields. The reason for this ...
0
votes
1
answer
24
views
.NET JWT bearer verification not handled by the framework
Why is that despite having the .well-known/openid-configuration specified in .NET auth settings - we still need to provide the all the information manually?
I my auth flow - the RSA asymmetric ...
1
vote
1
answer
36
views
keycloak-angular with standalone components this._instance undefined causing TypeError on login()
I'm attempting to setup keycloak-angular in a v18 SPA following this approach which seems to have had historic success. When calling the login method keycloak.login() I receive the following error ...
-1
votes
0
answers
19
views
Keycloak concurrency issue while updating roles of a user after authentication with external server
I'm facing an issue with Keycloak while using an external user storage provider. The problem occurs when the same user tries to log in concurrently on multiple devices. Here are the details:
Scenario:
...