Questions tagged [keycloak-services]

427 questions
53
votes
6 answers

Avoid keycloak default login page and use project login page

I am working on creating an angular.js web application and looking for how to integrate keycloak into the project. I have read and watched many tutorials and I see that most of them have users logging/registering through the default login page of…
krs8888
  • 949
  • 3
  • 16
  • 24
23
votes
1 answer

Generate JWT Token in Keycloak and get public key to verify the JWT token on a third party platform

There is an Endpoint to a backend server which gives a JSON response on pinging and is protected by an Apigee Edge Proxy. Currently, this endpoint has no security and we want to implement Bearer only token authentication for all the clients making…
Amit Yadav
  • 2,613
  • 3
  • 15
  • 50
21
votes
1 answer

How to get Keycloak users via REST without admin account

Is there a way to get a list of users on a Keycloak realm via REST WITHOUT using an admin account? Maybe some sort of assignable role from the admin console? Looking for any ideas. Right now I'm using admin credentials to grab an access token, then…
Borja Canseco
  • 215
  • 1
  • 7
  • 22
20
votes
1 answer

Keycloak, not returning access token if update password action selected

I am calling /auth/realms/master/protocol/openid-connect/token to get access token by sending below content in…
Shailesh Narkhede
  • 405
  • 1
  • 3
  • 11
19
votes
5 answers

Access the keycloak API from postman

I have tried to access the keycloak API from the postman. but it is showing 400 bad request. I was calling api in the below format.…
Programmer
  • 487
  • 2
  • 6
  • 19
17
votes
5 answers

Didn't find publicKey for kid ,Keycloak?

I am getting this exception "Didn't find publicKey for kid" while calling endpoint from angular js 2 to the widlfly server . authentication happened in keycloak , however i am calling about 8 endpoints from different clients (different micro…
Ahmed Gamal
  • 1,556
  • 1
  • 14
  • 23
15
votes
1 answer

Cant access keycloak rest API methods *404*

I am using the latest keycloak image in docker and can access the standard admin console at http://localhost:9080. However, I cant seem to access any of the paths specified in the documentation for Admin REST api. For instance, the base path /auth…
Taha Rehman Siddiqui
  • 2,201
  • 5
  • 27
  • 52
14
votes
2 answers

KeyCloak User validation and getting token

First of all I am very new to Keycloak and excuse me if something I am asking might be wrong. I have installed the Keycloak server and I can access the Web UI for the same using: http://localhost:8008/auth My requirement is to validate a realm user…
Rohitesh
  • 1,098
  • 5
  • 20
  • 44
14
votes
3 answers

Keycloak client vs user

I understand that keycloak has built-in clients and we add the users later on. But in general, what is the difference between a client and a user in Keycloak?
Orkun Ozen
  • 6,343
  • 7
  • 46
  • 82
12
votes
2 answers

Export all users from KeyCloak

I have a specific use case in which we want to ask Keycloak for all the users and the groups and roles for each user, on a daily basis. For reconciliation purposes with other internal systems. Currently we are using the provided Keycloak endpoints…
Michel
  • 8,310
  • 13
  • 41
  • 56
11
votes
3 answers

Keycloak Invalid token issuer

I have a mobile app(react-native), a resource service(spring boot) and Keycloak Authenticatioin Service(Auth-Service). Client makes authentication directly with Auth-Service and gets the access token. When I do a request to the resource service, the…
11
votes
1 answer

Create a User on Keycloack including password from curl command

I have tried to create a user(without giving any password while creating) on keycloak using CURL command, it's success, but not able to know the password to login. So, how to give password to a user while creating. and also how to set default…
fayaz
  • 111
  • 1
  • 3
11
votes
1 answer

How to get current user profile picture with Keycloak?

I am trying to get user profile picture and other information those who logged-in using Identity provider like Google or Facebook in my AngularJs application using Keycloak authentication.
avi
  • 194
  • 3
  • 14
10
votes
2 answers

Keycloak/OIDC : retrieve user groups attributes

I've extracted a user's groups information from the OIDC endpoint of Keycloak, but they don't come with the group ATTRIBUTES I defined (see Attributes tab into the group form, near Settings). Is there a claim to add to my request? I'm using a…
Thomas Escolan
  • 589
  • 1
  • 4
  • 18
10
votes
3 answers

Keycloak SSL setup using docker image

I am trying to deploy keycloak using docker image (https://hub.docker.com/r/jboss/keycloak/ version 4.5.0-Final) and facing an issue with setting up SSL. According to the docs Keycloak image allows you to specify both a private key and a…
Vsoma
  • 483
  • 1
  • 5
  • 15
1
2 3
28 29