SAML Authentication using passport-saml (nodejs, expressjs, reactjs)
Please follow below step -
-
Need to create application in IAM Identity Center
-
create user and assign that user to application
-
after creating application you will get signin url certificate file. copy signin url and download certificate file.
-
set callback url in application configuration.
Application ACS URL - eg. http://localhost:8080/login/callback
Application SAML audience - passport-saml
-
attach attribute in attribute mapping
-
repo setup -
client repo(UI) -
- npm install
- npm start
Backend repo -
- npm install
- npm start