Type Alias: AuthSocialSignInCallbackProps
AuthSocialSignInCallbackProps =
object
Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:8
Properties
children?
optionalchildren?:React.ReactNode
Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:16
Rendered while the exchange is in flight (e.g. a spinner).
onError?
optionalonError?: (message) =>void
Defined in: react-auth-strapi/src/AuthSocialSignInCallback.tsx:14
Called if the callback exchange fails, with a user-facing message.
Parameters
| Parameter | Type |
|---|---|
message | string |
Returns
void
onSuccess?
optionalonSuccess?: () =>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.