https://supertokens.com/ logo
Title
c

Chunkygoo

10/19/2022, 1:51 AM
I can't seem to find out what the component's name of /auth/callback/google is
Mainly because it redirects before I can pull up react dev tools
What is the component's name? (The spinner that gets displayed when logging in with thirdparty)
@nkshah2
n

nkshah2

10/19/2022, 5:14 AM
Ah right give me a second
You want it for overriding the component right? @Chunkygoo Just to make sure
c

Chunkygoo

10/19/2022, 5:17 AM
Yup
I want to display my own spinner on the path /auth/callback/google
Here is how to override but I cant get the component's name
n

nkshah2

10/19/2022, 5:26 AM
The component is called
SignInAndUpCallback
c

Chunkygoo

10/19/2022, 5:31 AM
May I ask how you find that out?
n

nkshah2

10/19/2022, 5:31 AM
Well I mocked the network request for
/signinup
to have a 60 second delay, then it stays on screen for long enough to open dev tools
But you could also look at https://github.com/supertokens/supertokens-auth-react/blob/master/lib/ts/recipe/thirdparty/index.ts for example to see what components are exported and infer from there
Each recipe
index.ts
in the repository will list all the components it makes publicly available. In the off chance you need to customise a component not listed there, dev tools is your best bet
In your case the full key you want to use in the overrides is
ThirdPartySignInAndUpCallbackTheme_Override
c

Chunkygoo

10/19/2022, 5:35 AM
ThirdPartySignInAndUpCallbackTheme_Override or SignInAndUpCallback_Override?
And thanks for the help, really awesome stuff
n

nkshah2

10/19/2022, 5:36 AM
Just to confirm, what recipe are you using?
c

Chunkygoo

10/19/2022, 5:37 AM
thirdpartyemailpassword
n

nkshah2

10/19/2022, 5:37 AM
Yep
ThirdPartySignInAndUpCallbackTheme_Override
is what you need then
c

Chunkygoo

10/19/2022, 5:38 AM
Thanks
n

nkshah2

10/19/2022, 5:38 AM
Happy to help