Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-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: ...
Niranjan Raghu's user avatar
0 votes
1 answer
56 views

Spring boot application won't start after adding keycloak integration

i am introducing the keycloak token mechanism in my application and after adding a custom JwtTokenConverter and the securityConfig my app won't start with this error. Before that the app worked. I ...
CarlettoDeiSoffocotti's user avatar
0 votes
0 answers
37 views

Connection refused to keycloak's configuration uri from my gateway spring boot service (both running on docker)

It seems my gateway service is failing to resolve the host of my keycloak realm configuration uri (both are running locally on docker) I am able to see the page via browser on "http://localhost:...
markoss's user avatar
-1 votes
1 answer
41 views

How to log in a user from your spring boot api in keycloak?

im an intern working on a project where we have a frontend using react and a backend using spring boot and we are trying to use keycloak from every doc i have read i saw that the frontend should use ...
ayoub_benayyad's user avatar
-1 votes
0 answers
26 views

How do you populate the federatedIdentities field in keycloak-admin-client getFederatedIdentities() call

I have an identity provider set up in Keycloak through Google and it shows up in the list of identity providers. I've created a user through this identity provider using a valid Google account, and ...
StevenPG's user avatar
  • 409
0 votes
2 answers
116 views

How to keep the realms, users and roles in Keycloak to be persisted when using docker and docker compose to run it

I have an Spring boot java application that uses Keycloak for authentication and authorization. I have created my realm and its users and roles. I want to dockerize the application using docker ...
vali hatami's user avatar
-1 votes
0 answers
32 views

How to authenticate api-key in Keyclock with Spring Security

I am using keyclock with springboot latest versions, I have been trying to authenticate users using api-key that is sent in header just like jwt I found a way using filters in spring security, extract ...
Abdalrazag Al-Shrufat's user avatar
0 votes
1 answer
59 views

Role-based authentication not working with Keycloak and Java Spring

I have been following this tutorial: https://www.baeldung.com/spring-boot-keycloak to set up my Spring app with Keycloak. The authentication works normally, but when I want to add role-based ...
Kerim Nurikic's user avatar
0 votes
0 answers
34 views

How to Export users from keycloak having specific roles assigned

I am using keycloak version 25. LDAP is configured and all users are imported from same. Now when I want to export the realm and users, I want to export users which have specific client role assigned. ...
p khade's user avatar
  • 11
0 votes
0 answers
18 views

Sending Traceability Logs to a Different File Than the Default Keycloak Log File

Want to log some traces on a specific file with log rotation. <keycloak.version>21.1.1</keycloak.version> I created a class called TracabilityLogger that logs certain traces I retrieve ...
Nicolas Bourneuf's user avatar
0 votes
0 answers
47 views

How to get the auth token in an SPI?

I'm currently working on a Service Provider Interface (SPI) for Keycloak, and I'm facing a challenge that I hope someone can help me with. I need to send the Keycloak authorization token to an ...
user25988336's user avatar
0 votes
1 answer
50 views

Keycloak not accepting a/any custom LoginFormsProviders

I am using Keycloak 25 and I am trying to modify/extend/replace the FreeMarkerLoginFormsProvider via the keycloak SPI. I have tried using a method provided on several different questions. Like this ...
Georgi D.'s user avatar
-1 votes
0 answers
38 views

Keycloak CustomUserStorageProvider always returns "invalid_user_credentials" error

I am currently working on integrating Keycloak with a custom user storage provider. I have implemented a CustomUserStorageProvider to authenticate users against my own database via HTTP requests. ...
Federico Caimi's user avatar
-1 votes
2 answers
92 views

Spring Security + Keycloak (with self signed certs) - How do you disable hostname verification?

I'm running Keycloak 24.0.0 with a self signed certificate. My springboot application authenticates against Keycloak using the client secret authentication method and authorisation code grant type (...
ndtreviv's user avatar
  • 3,578
-1 votes
1 answer
21 views

Axon server with repeatingly giving an `InsufficientAuthenticationException`, how to solve this?

We have axon server version 2023.3.1 with Keycloak authentication. For a wile now we get this InsufficientAuthenticationException This is a continues log entry, so it is not comming from our ...
Jan's user avatar
  • 73

15 30 50 per page
1
2 3 4 5
81