Last active
November 15, 2022 09:07
-
-
Save p19ky/d8f69e956fb303c728b77633647c8045 to your computer and use it in GitHub Desktop.
Integrate the Morpheus Plugin with ease.
This file contains hidden or 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
<!-- Add Morpheus Plugin to your project in HTML file --> | |
<script | |
src="https://firebasestorage.googleapis.com/v0/b/morpheus-platform-f718b.appspot.com/o/MorpheusAuthentication.js?alt=media" | |
id="morpheus-identity-jkashdkjlahd8723y4kja" | |
key="YOUR-API-KEY" | |
> | |
</script> | |
<!-- Now you have access to a function that opens the plugin, verifies the user and returns it --> | |
<button type="button" onclick="window.verifyWithMorpheus((user) => {console.log('myUser', user)}, {color:'#08c4ea', darkMode: true, language:'ro'})"> | |
Verify | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment