Userbase

Docs : SDK : signIn

signIn lets your users log into your web app. This API will return a promise that gets resolved once the user has been logged in.

    userbase.signIn({ username, password, rememberMe = 'session' })
      .then((user) => {
        // user logged in
      })
      .catch((e) => console.error(e))
  

Parameters

Result

Notes

Errors