Questions tagged [keycloak-nodejs-connect]

56 questions
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…
0
votes
0 answers

How to add custom attributes to bearer-only clients

I'm using keycloak-connect (nodejs) for my backend with a bearer-only profile. The frontend is a client with a public profile: 1 - How can I add some private custom attributes in userInfo that are only accessible by the backend (bearer-only) ? I'm…
0
votes
1 answer

keycloak-connect nodejs / meteor - Getting access denied at first login only and prod only

I have a meteor/nodeJs app that needs to connect to my client to authentify. I set up a connection access point as such (I just anonymized the various values): import Keycloak from "keycloak-connect"; import { WebApp } from "meteor/webapp"; import…
Ivo
  • 2,308
  • 1
  • 13
  • 28
0
votes
1 answer

How to configure keycloak-(nodejs-)connect to use PKCE?

I have an express app that I want to secure with keycloak-connect. I have not found any documentation or examples of how to set up an Authorization Code Flow with PKCE in this middleware. I think I have configured Keycloak (IDP) correctly, because…
0
votes
1 answer

Keycloak and Node.JS: How to keep user logged in after Keycloak access token get expired?

I'm trying to configure my application to use keycloak as authentication server, it kinda work, I was able to login successfully but when access token expires it redirects me to keycloak sign in page to login again, can anyone tell me how can I keep…
0
votes
1 answer

Keycloak always redirecting to login page

I´m using a keycloak instance to login in the frontend and secure the backend-api. After deployment on a linux machine on aws I faced a issue. I´m getting constantly redirected to the login page by accessing the api with a jwt token. Locally it´s…
Dominik
  • 299
  • 6
  • 18
0
votes
1 answer

Kubernetes Route to Service using Ingress hostname | Keycloak

What field should I add to the service / ingress yaml so that I can reach the service from another pod in the same cluster using its associated (external) hostname specified in ingress? I'm using microk8s with the default ingress class (nginx), and…
0
votes
2 answers

Node Keycloak requests returns Login even with bearer token

I've been trying to integrate Keycloak into a simple node/express server so that I can authenticate with a bearer token in the header, but every protected request I'm making returns html(login page). My simple index.js file: const express =…
0
votes
1 answer

Not able to communicate between keycloak and gatekeeper

I am totally a newbie in key-cloak and keycloak-gatekeeper I am running keycloak on my machine with address localhost:8080 where as my gatekeeper is running on minikube environment Below are the my configuration and deployment file apiVersion:…
-1
votes
1 answer

ReactJS redirect on page switch with Keycloak authentication

I have created a ReactJS UI that uses Keycloak to authenticate users. I used this tutorial with some minor tweaks: https://blog.logrocket.com/implement-keycloak-authentication-react/ I am using: React Router keycloak-js @react-keycloak/web Now the…
P D
  • 19
  • 4
-1
votes
1 answer

How to handle uri redirect upon authentication with keycloak

I want to use keycloak for our Nodejs application authentication. We have a node.js backend and a UI5 frontend. I want all the traffic to flow through keycloak and then upon successful authentication the traffic should be redirected & allowed…
Linkx_lair
  • 569
  • 1
  • 9
  • 21
1 2 3
4