Questions tagged [keycloak-services]

608 questions
0
votes
1 answer

Integrating keycloak with angular 4

I am trying to use keycloak with angular 4 for user management. I went through documentation but was left clueless about where to start. I am new to angular and keycloak. So, can anyone provide me with good documentation or help me with it by…
Bhupesh Shrestha
  • 248
  • 3
  • 17
0
votes
1 answer

How to authenticate Jquery ajax requests with Keycloack,

I have a spring boot application (mvc) which is securing with keycloack. (using with spring-boot-starter-security and keycloak-spring-boot-starter) I configured KeycloakWebSecurityConfigurerAdapter like that; @Override protected…
Batuhan
  • 463
  • 2
  • 6
  • 22
0
votes
1 answer

Facing issue while creating user through keycloak

I am trying to create users in keycloak through java web application and below is the code that I am using: Keycloak kc = Keycloak.getInstance("http://localhost:8080/auth/", "realm", "username", "password", "Client"); …
whywake
  • 880
  • 10
  • 29
0
votes
0 answers

Access control of a user across all clients in a realm

I have created 2 different maven web applications and both of them have been hosted as different clients in the same realm. Both of them are hosted in my local machine on JBOSS EAP 6.4.7 server. If a user tries to login to the first application, he…
whywake
  • 880
  • 10
  • 29
0
votes
1 answer

Identify Identity Provider type in Keycloak

I am enabling social login (Google, Facebook, Twitter) in my java ee application and authenticate through Keycloak. So far I have been able to authenticate the application directly through Keycloak and I am capturing the AccessToken with the below…
whywake
  • 880
  • 10
  • 29
0
votes
1 answer

How do I get KeycloakSecurityContext to be set in the httpServletRequest in Keycloak's account-linking doc?

In Keycloak's account-linking documentation, there's a code snippet: KeycloakSecurityContext session = (KeycloakSecurityContext) httpServletRequest.getAttribute(KeycloakSecurityContext.class.getName()) Why would the KeycloakSecurityContext be set in…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
0
votes
1 answer

Angular4: Patternfly Secondary nav not working after bootstrapping the app inside keycloak.init()

This the first time I am configuring my Angular4 application with keycloak authentication. Here I am using patternfly for nav menu. Initially my menu was For this I had bootstrapped my app like : main.ts import { enableProdMode } from…
0
votes
1 answer

CSRF vulnerability in Keycloak Account Service

Though there is a CSRF token used in the Keycloak Account service, there is CSRF token fixation vulnerability. To prevent CSRF, a cookie named KEYCLOAK_STATE_CHECKER is used (CSRF defense method: "Double submit cookie"). The CSRF token is required…
mittal
  • 327
  • 3
  • 15
0
votes
0 answers

Delete ldap attribute by keycloak

I'm evaluating keycloak for identity management using an existing (open)ldap server. I've managed to get the telephoneNumber ldap attribute into keycloak. The problem occurs if I try to remove a telephone number via keycloak: keycloak tries to set…
dve
  • 371
  • 2
  • 16
0
votes
1 answer

Keycloack admin client hangs when attempting to make requests

I'm trying to get some user data out of Keycloack using the admin-client SDK. I've built the client like so: Keycloak kc = KeycloakBuilder.builder() // .serverUrl("some_url") .realm("some-realm") …
0
votes
1 answer

Verifying keycloak token on multiple microservices

I have a web app that does the login to keycloak server and gets the JWT token from keycloak server. The it fires and api and for the completion of the request it goes to multiple microservices. I want to verify the keycloak JWT token on these…
selftaught91
  • 7,013
  • 3
  • 20
  • 26
0
votes
0 answers

Keycloak - is it ready for production?

I spent time testing out Keycloak Identity server for handling microservice authentication using OpenID connect. I was able to fully customise the freemarker theme to what I want. It's got nice features too but somehow I still find it buggy, most…
Philip K. Adetiloye
  • 3,102
  • 4
  • 37
  • 63
0
votes
1 answer

Keycloak display different text in theme

I'm customizing the keycloak theme but want to display a different text in the template.ftl based on the current page. How can I achieve that in the freemarker template - template.ftl, something like this <#if login> ... <#if register> …
Philip K. Adetiloye
  • 3,102
  • 4
  • 37
  • 63
0
votes
1 answer

Include Authorization Permissions to my token using Keycloak Mapper

I would like Keycloak (2.3.0.Final) to include the permissions associated to user in the ID token. I tried to create a mapper to map the all permissions, but unfortunatelly, there is no option to add this kind of feature. Does anybody know how to do…
Celso Agra
  • 1,389
  • 2
  • 15
  • 37
0
votes
1 answer

Communications link failure

I got the following Error when keycloak is start and trying to login from admin console.. It takes to much time it trying to hit server directly and gives error when trying to hit from load balancer.. Can any one tell me how to remove this…
Aman Jaiswal
  • 1,084
  • 2
  • 18
  • 36
1 2 3
40
41