Category "keycloak"

OAuth 2.0 flow using Keycloak with a back-end and front-end?

I'm working on a project that consists of: A back-end in Java (JEE project deployed on Wildfly) Front-end developed in Angular Keycloak for authorization and au

How to get an auth code from Keycloak(OAuth2 standard flow) in a JEE-Maven project?

I need to secure a web-app, the backend will be Java Rest API, meanwhile I'll use Angular for my front. I am using Keycloak to authenticate into my webapp, but

Keycloak 2fa via SMS using external REST Api

I have been trying to implement 2fa using OTP. Till now i am successful doing it via browser flow using keycloak interface to login. Keycloak provides an API to

Why does machine-to-machine interaction in OAuth2 disallow the refresh_token grant without providing the client_secret?

We are implementing JWT-based authentication for our APIs, using Keycloak as an identity provider and token endpoint. We found the idea of OAuth2 attractive, as

How to get group and group attributes in Keycloak

I am using Spring Boot, Bitnami/Keycloak:latest, java 11. I want to get the group and group attributes before the request reaches the controller because I need

Access token missing from Keycloak context

I am trying to make an authenticated request from postman to my node, apollo, express backend. I am gettting an error saying that the user is unauthenticated. W

Check user group of already logged in user in KeyCloak

I have two application, both are using keycloak to authenticate user of the same realm. I've created two different client, and two different user group. Only us

Keycloak to Flutter Android App Redirect Issue : HTTP is working, HTTPS is giving error

I have implemented flutter_appauth and I am using Keycloak as Authentication Server. Code snippets are as follows: Main.dart final String _clientId = 'flutter-d

Keycloak login based Authorization and authentication of application user

I am new to keycloak , whether the user creation should be happened in my application or at keycloak

KeyCloak Mixed Configuration Issue with AWS ECS and ALB

I am struggeling with a "smalL" problem during my ECS configuration. I have the following Infrastructure ECS Fargate (Serverless) Service which deploys 2 contai

Is it possible to create keycloak policy enforcer resources with same url?

I want to use keycloak policy enforcer to authorize requests for resources of my app. But, some resources need to have same urls. In example, there are two role

Can't fetch user info from Keycloak using Python on docker compose

I need to run, from docker compose, three containers: a fastapi server, a keycloack server and a postgres database. This works well if I run the uvicorn command

How to avoid "timeout when waiting for 3rd party check iframe message" with Keycloak and Angular

I'm trying to securize an Angular app with a Keycloak server. I've followed some tutorials that give more or less the same instructions in order to do so, but I

How to fix "The required mechanism 'SSO' is not available in mechanisms [BASIC, CLIENT_CERT, DIGEST, FORM] from the HttpAuthenticationFactory." error?

Issue Description: I'm upgrading the base Keycloak image for our customized Keycloak image. I've got it working locally and if i disable the single-sign-on subs

Keycloak continuously redirects to login page

I have setup the keycloak but it continuously redirects to login page in a loop. I got the below error in logs: 2022-02-22 12:41:42,003 WARN [org.keycloak.even

How to disable auto login redirect in Spring Boot Keycloak Adapter

I am writing an API in Spring Boot that I want to secure using Keycloak. After doing some setting up, I managed to get the keycloak adapter to work. While I was

M1 mac cannot run jboss/keycloak docker image

Switched to m1 mac a week ago and I cannot get my application up and running with docker because of the jboss/keycloak image not working as expected. Getting th

Keycloak with Microfrontends

Given the shown architecture: MFE = Microfrontend SPA = Javascript browser app API-Gateway = Session to Token translation Is it possible via Oauth2, that the u

Keycloak Adapter requires SSL error in AKS

I deployed my spring mvc aplication with tomcat docker image as server in Aks and ingress controller is used for redirection. My application is secured with K

OpenID Connect + Django DRF + React: How to use?

I have a web application made up of two parts: back-end which is implemented using Django + Django Rest Framework (DRF), and front-end which is a React App proj