You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/auth/src/index.tsx
+23-14Lines changed: 23 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ function isString(arg: unknown): arg is string {
103
103
exportinterfaceLoginOptions{
104
104
/** Entrypoint to redirect the user to after successful authentication. Defaults to the URL that the user initially visited. */
105
105
entrypoint?: string;
106
-
/** Perform redirect after successful authentication, default to `true`. */
106
+
/** Automatically redirect the user to the login URL and to the entrypoint after successful authentication. Disabling this will disable all redirects. Defaults to `false`. */
/** Convenience header object containing the `Authorization` header value set to the access token. */
142
142
authHeader?: {[key: string]: string};
143
+
/** Set to the URL that the user is redirected to initiate the authorization flow. Useful when you need to start the login flow in a separate window or tab. Use in combination with `login({ refresh: false })`. */
0 commit comments