Questions tagged [keycloak-nodejs-connect]

56 questions
0
votes
0 answers

KeycloakStrategy invalid token ECONNREFUSED

Client: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [Function: httpAdapter], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function:…
0
votes
1 answer

How to verify the access token without client secret key in keycloak

I have nodejs services as backend & frontend in angular, I want to secure my node api with keycloak, I am using keycloak 22.0.0, we tried with {{keycloak_url}}/realms/{{realm}}/protocol/openid-connect/token/introspect/which requires client secret…
0
votes
0 answers

Keycloak Server not sending the custom email verification URL

I am trying to integrate custom email verification flow using keycloak server version 21.1.1. I am using following REST API…
0
votes
0 answers

Integrating Keycloak with React using OIDC-Client and encountering a 404 error upon login page. What am I missing in the server portal configuration?

oidc-client 404 page not found i was try to integrate keycloack react using oidc-client library , the code below is my configuration with oidc-client const settings = { authority: "http://localhost:8080/auth/realms/master", client_id:…
0
votes
0 answers

Hierarchical Authorization in Keycloak

As a newcomer to Keycloak, I'm encountering an authorization issue that I could use some help with. Specifically, I'm trying to establish a hierarchical authorization system where there are two types of entities, namely "communities" and "members,"…
0
votes
1 answer

how to disable keycloak temporarily in the NodeJS application?

I have integrated keycloak with the backend application written in express - nodejs. now either for testing purposes or as a roll-out feature I want to disable keycloak from my API endpoints. keycloak is initialised as below: const session =…
0
votes
0 answers

keycloak.protect() node js probleme CORS

I have a problem with keycloak.protect(), I can't access my "/secured" route. Indeed, when I try to access it from my frontend, I have the CORS blocking me. However, I made sure with app.use(cors()) to allow everything. I also tested if I can get my…
0
votes
0 answers

Interface for Keycloak

I am writing to request assistance with the development of a user management interface for Keycloak. As an administrator, I need to manage user settings, but I am hesitant to provide full access to the Keycloak platform for fear that users may…
0
votes
0 answers

REST API for keycloak forget password

I am new to Keycloak, Here my question is I want to implement keycloak forget password in node application using keycloak REST API, Keycloak provides REST APIs for many modules. for this forget password API, I have found some answers, And I think…
0
votes
0 answers

Is it possible to use one realm for two applications ? Keyclock

I have a frontend React application in the visual part of which I want to protect with Keyclock. I also have an admin panel - node js of the application whose routes I also want to protect using Keycloak. Can I create just one Realm for them in…
0
votes
0 answers

how can i use const [keycloak, initialized] = useKeycloak() in react js

i'm using api keycloak for authentication onLogin: (email, password) => { return dispatch => { var axios = require('axios'); var qs = require('qs'); var data = qs.stringify({ 'username': email , …
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

NodeJS + Keycloak without express

I'm trying to secure my Node.JS app with Keycloak, but my app doesn't use express. I have searched extensively, but to me, it seems like this is impossible, at least with the libraries provided officially by Keycloak. (“keycloak without express”…
Jake
  • 2,090
  • 2
  • 11
  • 24
0
votes
1 answer

Keycloak "Unexpected error when handling authentication request to identity provider" when trying to invoke AIA

An otherwise working as expected Keycloak Server is giving me a headache since I started to try and implement Application Initiated Actions. Prior Search Because looking for the topic results in a sparse selection of hands-on material, I got to go…
0
votes
1 answer

Keycloak authentication issue

I am trying to implement an authentication mechanism using Keycloak to my nodejs application which is running on https port 4443 (https://localhost:4443). The Keycloak application is running in the EC2 instance in port 8443 https. I am trying to…
sanketh s
  • 345
  • 1
  • 5
  • 14