Learn how to add the OwnID widget to your login page
https://cdn.uat.ownid.com/sdk/
ownid
with the appropriate method name and its parameters:
passwordField
parameter.
loginIdField
parameter.
onError
parameter.
onLogin
event to copy the data.token
object locally. The data.token
is the value generated by the getSessionByLoginId
endpoint and you should use it to set a user session or exchange it for a session token.
button-wrapper-div
represents the div where the button will be shown. Configure your own.
If you would like to style this button, you can utilize the following CSS variables:
ownid.auth
function: