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
3
votes
1 answer

Keycloak federation with LDAP fails to make the connection : Error! Error when trying to connect to LDAP. See server.log for details

I am trying to create a federated authentication using the Keycloak and following the steps mentioned here: Setup User Federation with Keycloak I have been using the port 10389 instead of 389 mentioned in the document. Everything seems to be working…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
3
votes
2 answers

KeyCloak - ingress does not allow connecting over https service

I have installed keycloak using helm. A Traefik ingress is created to allow access from public After the admin password is created from localhost:8080, i am able to login into admin console only when i am port forwarded and local access. When i use…
3
votes
1 answer

Keycloak server exposed via 2 public URLs

Keycloak introduced the concept of "Frontend URL" to enable different URLs for front-channel and back-channel requests towards Keycloak. We have a use case where same Keycloak server is exposed via 2 public URLs (over 2 separate VPNs which are not…
2
votes
0 answers

Argo Workflow SSO authentication programmatically

I need to authenticate ARGO workflows running in sso mode using keycloak provider. Currently in my organization we are using keycloak as the authentication provider for all the application. We have requirement to invoke argo workflows from one of…
2
votes
1 answer

I've just learnt about the drawbacks of JWT - what would be an alternative?

I've just learnt that JWT have major drawbacks and we are overly using them. I can totally see the reasoning. The solution would be to make a call to the DB each time, instead of using a JWT. The problem is that I'm using Keycloak for my project -…
2
votes
1 answer

Using keycloak-connect + typescript - using a function which expects a specific parameter, but I don't know what it refers to

I'm trying to use keycloak-connect with my nodejs app on typescript. Here's keycloak.d.ts import * as express from 'express' /** * The JavaScript module is exported as a single function, but for TypeScript we * need to export the function and a…
Octavian Niculescu
  • 1,177
  • 1
  • 3
  • 24
2
votes
0 answers

Logout from Keycloak is not working properly

when i call below code, it will go to if statement i.e. keycloak.authenticated. Aftert that keycloak.logout(), neither alert Success nor Fail will not display. if(keycloak.authenticated) { keycloak.logout().then((success) => { …
2
votes
0 answers

Authenticate keycloak client with another client

I currently have two APIs with their confidential clients on keycloak. So: API1 - client1 API2 - client2 I don't know if I'm looking in the right way, but I want to protect an endpoint of my API2 for use it from my API1. Can I get a token relative…
cseccia
  • 21
  • 2
2
votes
4 answers

Keycloak login ith chrome extension

I'm being started to implement keycloak SSO authentication on an existing homemade chrome extension in pure JS. Keycloak server is well configured, i've checked that. I'm able to import keycloak.json on background.js. I'm able to init keycloak…
alainebdev
  • 121
  • 1
  • 1
  • 9
2
votes
1 answer

How to check authenticate keycloak instance A user from another keycloak instance B?

We setup a testing environment for keycloak. The environment run on GCP. It have two keycloak instances: Instance A acts as a test login keycloak, named test-login-1 Instance B acts as a test external identity provider, named test-login-2 We need…
2
votes
3 answers

Keycloak with user verification using SMS

After looking at keycloak I could not find a way to do any SMS verification. Do you guys have any extension or setup in order to allow user verification with SMS. Thanks for your help. Jonathan.
Jonathan Chevalier
  • 993
  • 1
  • 9
  • 18
1
vote
0 answers

Keycloak - trying to map nested arrays (returned in the userProfile of the IDP) to a multi-values attribute

I am using Keycloak to connect to an external Identity Providers via OIDC. Step 1 : I created standard mappers « Attribute Importer » to retrieve attributes using the claims supported by the IDP. Examples of simple mappings : Name of my attribute…
1
vote
1 answer

I get keycloak login page while making an api call

I have an Node.js express app like this require('dotenv').config(); const bodyParser = require('body-parser'); const express = require('express'); const {NodeAdapter} = require('ef-keycloak-connect'); const mongoose = require('mongoose'); const…
czxriken
  • 25
  • 4
1
vote
1 answer

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filter execution threw an exception] with root cause

i am trying to connect my Spring Boot application with Keycloak. The keycloak login is a passwordless login (OTP code in an authenticator app). There is an external page, where everybody can access, when the user clicks in "customers" the user must…
1
vote
0 answers

Access token generated by one keycloak instance is invalid on other

Keycloak 20.0.5 Problem statement On local i have set up keyclocak cluster with two nodes i am using following infinispan configuration. But access token generated by one node can't be introspected on other. Initially I was thinking it might be…
1
2
3
9 10