Let existing users sign in with a single tap.
ownid
method:
checkSession
async function. Only if false
the prompt will be shown.
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.
onError
parameter.