slackspace-angular2-spring-keycloak | Sample project which shows how to implement | Identity Management library
kandi X-RAY | slackspace-angular2-spring-keycloak Summary
kandi X-RAY | slackspace-angular2-spring-keycloak Summary
Sample project which shows how to implement a secured Angular 2/Spring-Boot application secured by Keycloak.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of slackspace-angular2-spring-keycloak
slackspace-angular2-spring-keycloak Key Features
slackspace-angular2-spring-keycloak Examples and Code Snippets
Community Discussions
Trending Discussions on slackspace-angular2-spring-keycloak
QUESTION
When session is created in Angular4 using Keycloak-js (Version : 4.0.0), SSO is not working
Following are the steps to Recreate this
- Integrate Keycloak with an Angular 4 Application (For instance: https://github.com/mauriciovigolo/keycloak-angular or https://github.com/cternes/slackspace-angular2-spring-keycloak/tree/master/frontend)
- When user tries to login, he would be automatically redirected to Keycloak Login Page
- After session is created, try to login through another app like Grafana with Keycloak or Jenkins
- Too many Redirects ( Keycloak is running in port 8081 & Grafana in 3000)
Request url :
Response URL:
Options tried:
- Angular4 & Jenkins
- Angular4 & Grafana
Whereas the following steps works
- Login to Grafana or Jenkins or to KeyCloak directly
- Then login to Angular 4 , it works
Since I am able to login to each of these Apps separately and SSO works between Grafana & Jenkins, I am inclined to believe that issue could be with the Keycloak-Js adapter.
Following are the arguments that I use to create session
...ANSWER
Answered 2019-Feb-01 at 06:26Eventually, I implemented the SSO functionality using Angular-OIDC Library (Implicit Flow) https://github.com/manfredsteyer/angular-oauth2-oidc
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install slackspace-angular2-spring-keycloak
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page