Skip to content

Instantly share code, notes, and snippets.

View p19ky's full-sized avatar
👨‍💻
Code

Pinkovai Krisztian p19ky

👨‍💻
Code
View GitHub Profile
@p19ky
p19ky / index.html
Last active November 15, 2022 09:07
Integrate the Morpheus Plugin with ease.
<!-- 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'})">