Last active
November 12, 2021 21:59
-
-
Save thivi/ddc20195835cde956783933631c11888 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function () { | |
auth.initialize({ | |
signInRedirectURL: "https://localhost:5000", | |
signOutRedirectURL: "https://localhost:5000", | |
clientID: "<client-id>", | |
serverOrigin: "https://api.asgardeo.io/t/<tenant>", | |
scope: ["openid", "profile"] | |
}); | |
auth.signIn({ callOnlyOnRedirect: true }); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment