Hi, I have created one single page application " MonoovaPortalSSOPOC" on the tenant “monoova-test.au.auth0.com”.
My idea is to
- Add 2 buttons on the screen;
- Once logged in from Auth0, click button 1 or button 2, should sso to its website without log in again.
for example, 2 buttons
- button 1: https://demo-trading.monoova.com/users/sign_in, defined in Machine to Machine" FX Customer Portal (UAT)" ->“Application login URI”
2). button 2: Jira customer portal; https://monoova.atlassian.net/jira/servicedesk/customer/portals
Is it possible to add some java script on two button ‘click’ event to achieve?
such as: create auth0.WebAuth, then checksession?
Please share me any useful codes if possible.