Questions tagged [keycloak-connect]

keycloak-nodejs-connect is a Keycloak Node.js Adapter. Keycloak is an Open Source Identity and Access Management solution for modern Applications and Services.

This module makes it simple to implement a Node.js Connect-friendly application that uses Keycloak for its authentication and authorization needs.

148 questions
0
votes
1 answer

Kubernetes (GKE) Keycloak couldn't connect to CloudSQL

I run keycloak in my kubernetes cluster, it run pretty well until i realize that the database still stuck using H2, even tho i already adding POSTGRES config in my deployment.yaml. can someone point out where i'm missing? apiVersion: apps/v1 kind:…
0
votes
1 answer

Bypass login page in keycloak using access token

We have a requirement, where we need to bypass the login page and directly provide access to the user based on a token that has the email of the user. We are using the email of the user and generating an access token for the user using admin…
0
votes
0 answers

Keycloak administration page not loading

I am trying to setup a keycloak server on AWS EC2 for testing purpose running on Ubuntu. However when I try to load the console page it shows a blank page in browser. Keycloak is completely new and not sure what changes are required. The settings I…
0
votes
0 answers

Using keycloak as an IdP when building a Rest API - the protect() method returns HTML

I'm trying to build a Rest API in NodeJS and I want to use Keycloak to secure it. I'm currently using keycloak-connect from npm to integrate it. The problem is that when an Authorization token is not attached to the Request at all, I get this page…
Octavian Niculescu
  • 1,177
  • 1
  • 3
  • 24
0
votes
2 answers

Keycloak sessions - when I disconnect them from the admin page, they still work

I have a Keycloak realm with some users as an IdP for a nodejs + typescript project. I currently have those two sessions, as it shows: if I press on Logout all, they disappear from here but they still work. Example: 1) I create a new session. I get…
Octavian Niculescu
  • 1,177
  • 1
  • 3
  • 24
0
votes
1 answer

Configuring proxy for Spring boot application for keycloack authentication in local machine

I am facing issue in validating the bearer token passed into the spring boot application running on my local machine which is under corporate proxy. The same configuration works perfectly fine when deployed in application servers. Could anyone…
0
votes
1 answer

Keycloak - login in Pop Up window

I am using keycloak in an iframe. My keycloak client is Okta. With my current configuration, keycloak simply redirects to okta login page. This means they are beeing opened within the iframe aswell. I'd really like to change that, since it…
0
votes
1 answer

How to use social signin for custom react page with keycloak

I want to implement something like login with google but with keycloak and also I want to use custom react page. For instance, there is a google icon button and after clicking on that button user should be redirected to social login. Also is there…
0
votes
0 answers

Keycloak grant validation. Failed to load public key to verify token. Reason: socket hang up

I'm using keycloak to protect an express API with the bearer-only authentication. When the API is running locally I can request a token an use the services normally, but when it's running on a public IP I get the following error: grant error Grant…
JG-A
  • 1
  • 1
0
votes
1 answer

Secure specific react page using keycloak

I am building a demon project of authentication whith Keycloak into a react project. I have one public page and a private one. The private page check if the user is logged in and display a button to log in or to log out, depending the connection…
Wapax
  • 37
  • 8
0
votes
1 answer

KeyCloak Integration with Azure ADB2C - Missing State Parameter

I’ve integrated “KeyCloak” (identity broker) with Azure ADB2C for authenticating a user. Firstly, the user ADB2C Login user flow endpoint integrated with Keycloak and tested it, which is absolutely fine. Also, we have integrated B2C “Forgot…
0
votes
1 answer

KeyCloak Integration with Azure B2C UserName Mapping Issue

We’ve implemented a keycloak integration with Azure ADB2C as an identity provider. While mapping the user claims in keycloak from the b2c token, I’m seeing a blank for the ‘sub’ claim. Is there anything to modify in the B2C policy or the Keycloak…
0
votes
1 answer

How can i implement logout feature in NodeJs with keycloak

I'm trying to implement a logout functionality with keycloaks which is running as a docker container. When tried with postman I'm getting a 204 response, even after that I am able to access the web pages without having to login again (Hence logout…
0
votes
1 answer

Logging into Keycloak from NodeJS: 400 Bad Request

I'm trying to log in into Keycloak from NodeJS code, and I'm struggling with finding the working example. The documentation on https://www.keycloak.org/docs/latest/securing_apps/index.html#_nodejs_adapter is incomplete and doesn't describe the most…
9ilsdx 9rvj 0lo
  • 7,955
  • 10
  • 38
  • 77
0
votes
0 answers

ReactJS with Keycloak login SSO: I want to login via Keycloak Login screen. without change in the browser URL

I am building a reactJs UI application. I am able to successfully login via keycloak redirection by using keycloak.json from keycloak client installation section. this redirection is working fine. no issues with that. However, this approach does…