AuthClientSignInOptions
Defined in: src/client/auth-client.ts:248
Options for AuthClient.signIn.
Properties
Section titled “Properties”maxTimeToIdle?
Section titled “maxTimeToIdle?”
optionalmaxTimeToIdle?:bigint
Defined in: src/client/auth-client.ts:259
How long a signed-in user may be idle before the sign-in ends, in nanoseconds.
Default
Section titled “Default”the identity provider's, currently 7 daysmaxTimeToLive?
Section titled “maxTimeToLive?”
optionalmaxTimeToLive?:bigint
Defined in: src/client/auth-client.ts:253
The longest the session may last, in nanoseconds.
Default
Section titled “Default”the identity provider's, currently 30 daysreturnTo?
Section titled “returnTo?”
optionalreturnTo?:string
Defined in: src/client/auth-client.ts:271
Where to go once the sign-in completes, ignored unless it is a same-origin
http(s) target.
For the flow that leaves the page: a redirect sign-in comes back to whatever URL the ceremony was started from, which is rarely where the user was. It is journaled, so it survives the round trip, and the navigation replaces the current history entry rather than adding one — the sign-in page and the redirect chain are not somewhere a back button should return to.