mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 15:51:00 +00:00
fix(native): a passkey sign-in from the app asks for the passkey straight away in the browser and returns to the app, instead of showing the whole login a second time
This commit is contained in:
@@ -19,7 +19,8 @@ import { APP_URL_SCHEME, TrekShell } from './trekShell';
|
||||
|
||||
export const HANDOFF_PATH = '/native-handoff';
|
||||
|
||||
export type BrowserSignInStart = 'oidc';
|
||||
/** Where the browser starts: straight into SSO, or straight at the passkey prompt. */
|
||||
export type BrowserSignInStart = 'oidc' | 'passkey';
|
||||
|
||||
const HANDOFF_RETURN_KEY = 'trek_native_handoff_return';
|
||||
const HANDOFF_RETURN_TTL_MS = 15 * 60 * 1000;
|
||||
|
||||
Reference in New Issue
Block a user