Interface
UI of the SDK
Common UI
Expected Parameters and Result with example case of google & line
withModal
[’google’]
[’google’,’line’]
undefined
Email Passwordless without a modal (v2.2.0+)
Configuration
Result
// Skip the modal: single email_passwordless provider + a known email
const sdk = new Startrail({
env: 'staging',
loginProvider: ['email_passwordless'],
loginHint: 'user@example.com',
})
await sdk.login()
// loginHint can also be passed per-call on login()
await sdk.login({ loginProvider: ['email_passwordless'], loginHint: 'user@example.com' })UI Samples with combination of parameters
Last updated
Was this helpful?







