Skip to main content

Type Alias: AuthSocialSignInCallbackProps

AuthSocialSignInCallbackProps = object

Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:8

Properties​

children?​

optional children?: React.ReactNode

Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:16

Rendered while the exchange is in flight (e.g. a spinner).


onError?​

optional onError?: (message) => void

Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:14

Called if the callback exchange fails, with a user-facing message.

Parameters​

ParameterType
messagestring

Returns​

void


onSuccess?​

optional onSuccess?: () => void

Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:12

Called after the callback exchange sets the user as authenticated.

Returns​

void


provider​

provider: string

Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:10

Strapi provider slug, e.g. "google", matching /connect/:provider.