keycloak-services Questions
2
How to get the last login session details of a user in Keycloak using keycloak rest endpoints?
Example:
builder.append(OAuth2Constants.AUDIENCE+"="+clientId+"&");
builder.append(OAuth2Constan...
Grigg asked 9/12, 2019 at 8:48
1
Solved
Let's say I'm using one realm mycomp in Keycloak to handle all users (+ master realm for Keycloak superadmin).
I'm have role of Customer Support (CS) that should be able to view users and manage th...
Heliotropin asked 27/4, 2021 at 8:48
2
Im tried to create new user with clients role.
I have client roles:
- Admin
- Operator
- Manager
And during creating user I want to assign user a client role
my curl:
curl -X POST -H 'Authoriza...
Faena asked 13/4, 2018 at 13:42
4
I'am trying to make custom SPI with custom REST endpoint, which should authenticate and authorise incoming requests by evaluating permissions on requested resources.
With help of debugger I found o...
Fancier asked 1/2, 2019 at 15:53
2
I have my own Login page where user enters username/password.
This username/password are used to login through Keycloak Rest API.
http://localhost:8080/auth/realms/Demo/protocol/openid-connect/tok...
Grider asked 13/5, 2018 at 18:29
1
I am very new to Keycloak server and want to use it to protect my front-end app and the backend rest API which are also open over the internet. So far what I understand and did is to create 2 clien...
Caterinacatering asked 25/11, 2020 at 17:16
1
Solved
How do I create Protocol Mappers with the following values (as seen in the attached image) via Keycloak's REST API? I couldn't find it in the documentation - I did find this: Protocol Mapper - but ...
Trihedral asked 1/4, 2021 at 22:15
1
Solved
I have setup Keycloak as a SAML broker, and authentication is done by an external IdP provided by the authorities. Users logging in using this IdP are all accepted and all we need from Keycloak is ...
Cambridge asked 25/3, 2021 at 14:39
2
Solved
We can use PostgreSQL or MySQL as DB for keycloak but I want to use mongo DB as database for keycloak.
is there any way to implement this ?
Rath asked 8/6, 2020 at 10:26
2
Let's say we have several micro-services. Each of them uses Keycloak authentication. We have also load balancer based on for ex. nginx which has external URLs and different routes to keycloak (for ...
Kingbolt asked 12/7, 2017 at 16:29
5
Solved
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.
http://{hostname}:8080/auth/realms/master/protocol/openid-conn...
Glyph asked 16/3, 2018 at 5:6
1
Solved
I'm allowing users logged in an external application to jump into our application with their access token through Keycloak's identity brokering and external to internal token exchange.
Now I'd like...
Lempira asked 15/7, 2020 at 13:52
2
Solved
I'm implementing the Keycloak authentication service in my Angular 2 project.
I use a service for logging in, logging out etc.
Authenticating a user and logging out seems to work. I'm now trying...
Dram asked 24/12, 2016 at 13:33
2
keycloak js version -> ^10.0.2
angular -> ^7.2.16
keycloak.json
{
"realm": "REALM",
"auth-server-url": "<auth-url>/auth/",
"ssl-required": "external",
"resource": "CLIENT_ID",
"verif...
Reflex asked 10/6, 2020 at 7:59
3
Solved
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?
Uprush asked 5/3, 2018 at 10:0
2
I'm using keycloak as authorization server. The users send own username/password to MyWebApp and MyWebApp with grant_type: password get the token and then response token to the user. Now I want to ...
Kinetics asked 26/10, 2019 at 13:52
1
Solved
I'm trying to create a Keycloak client through Admin REST API with Python.
I've tried the following:
import requests
import argparse
import ast
def get_token():
url = 'http://localhost:9003/a...
Conducive asked 29/10, 2019 at 9:25
1
Keycloak refresh token expiry is tied to SSO timeouts. If SSO Session Idle is set to 30 minutes, the refresh token will only work for 30 minutes. Session Idle can only be as large as Session Max, t...
Hanhana asked 19/12, 2018 at 15:22
1
I need to update from the Keycloak to another proprietary data store information about created users (no matter if created directly in Keycloak or in a connected LDAP/Active directory).
I tried to ...
Phenanthrene asked 9/8, 2019 at 13:26
1
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 use...
Reverberatory asked 10/6, 2019 at 12:35
2
Using the KeyCloak admin console, I am attempting to enact the following use-case.
We have Group X and Group Y.
The role 'Group X Admin' can do the following:
Can create users without a group....
Shamus asked 31/7, 2018 at 15:16
0
I'm trying to implement the forgot password flow with key-cloak and was able to do it with key-cloak admin UI. But now I want to do this reset flow completely inside the web application without for...
Cloudcapped asked 4/4, 2019 at 9:11
1
Solved
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 on...
Oracular asked 26/2, 2019 at 11:52
1
Imagine,
Following are the 2 clients (2 micro-services) in keyclock.
rest-service-1
rest-service-2
Following is the role in rest-service-2
service-2-user
To do service to service call, i...
Premeditation asked 28/6, 2018 at 21:18
0
I am new to Keycloak. I want create user using Keycloak admin REST API.
I have managed to create a user. But the problem is I also want to assign admin role to the user.
Attached is my JSON body....
Rutheruthenia asked 7/2, 2019 at 6:9
© 2022 - 2024 — McMap. All rights reserved.