I'll explain how to successfully integrate #Keycloak, the Open Source Identity and Access Management solution for modern applications and services (by Red Hat), with a #React.JS based application and its #Router. No 3rd-party lib is used, besides the provided keycloak-js lib from the project itself.
In this third part of the video series, I cover the React Router integration, on how to use Routes depending on user roles from the Keycloak access_token.
Part 1: How to, basic configuration & usage w/o usage of 3rd party libs: • KEYCLOAK & React.JS - ...
Part 2: Conditional rendering of components, based on authN state, roles, etc.: • KEYCLOAK & React.JS - ...
The GitHub repo with all the demo code is here: github.com/dasniko/keycloak-r...
Don't forget to subscribe to my channel (if not already done) and give this video some thumbs up 👍 (aka "like").
Tell me about your experiences and in the comments. I'm looking forward to it! Thank YOU!
---
I'm Niko - and I'm an independant freelance software consultant, developer and trainer.
I'm here to help - you, your team and your company.
How can I support you? Just get in contact:
🌎 Website: www.n-k.de
🐦 Twitter: / dasniko
🚧 GitHub Profile: github.com/dasniko
🎥 KZitem Channel: kzitem.info?...
All things Cloud ☁️, Serverless, On-Premise, Java, JavaScript, All-End (Frontend, Backend, Fullstack Deployments), Authentication, Security 🔐, IAM, Keycloak, Containers, DevOps
Please understand that KZitem is not a good place to get support in case of errors. There are forums out there which are the right place to ask!
Негізгі бет Ғылым және технология KEYCLOAK & React.JS - Part 3: Router Integration | Niko Köbler (@dasniko)
Пікірлер: 23