App2Web (Pre-authenticated URLs)
Use the pre-authenticated URLs feature to open a website from a native app in an authenticated state.
Prerequisites
How to Implement Pre-authentication URLs in your application
Step 1: Enable SSO & Pre-authenticated URLs in Native Client App
authgear
.configure({
clientID: '<CLIENT_ID>',
preAuthenticatedURLEnabled: true
})Step 2: Add Allowed Origin to Web App Client
Step 3: Generate Pre-Authenticated URL
Step 4: Open Pre-Authenticated URL in a WebView
Step 5: Get authenticated state in the web application

Last updated
Was this helpful?