Created
July 14, 2022 05:46
-
-
Save Joshscorp/6e649fa5f1658dc76553bbe2f321abf4 to your computer and use it in GitHub Desktop.
App JS OnzAuth Initialisation
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
import * as onz from 'onz-auth'; | |
// Initialisation | |
const auth = new onz.Auth({ | |
clientID: 'YOUR CLIENT ID ABOVE', //Replace with your client id | |
containerID: 'myLoginDiv', // Optional, defaults to 'container' | |
isIframe: false, // Optional, defaults to 'false' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment