I am trying to do SAML SSO integration in Angular + Java Spring MVC project. I use the Tomcat Web Server for my project.
Below is the scenario:
I have an AngularJs(1.6) /Java Spring MVC application where i have implemented the basic session authentication with username/password.
Now, once logged in, I come to the dashboard page.
On this Dasboard page there is a button to a admin page for approval.
On click on this button I have to implement the Single Sign On using SAML/Okta. I have already created application in Okta.
On successfully done the SSO. User will redirect to the admin page of the application.
This is it!!!
How can i trigger /saml/login on click of a button?
Source: AngularJS Questions