I can't seem to find out what the component's name...
# support-questions-legacy
c
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
Ah right give me a second
You want it for overriding the component right? @chunkygoo. Just to make sure
c
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
The component is called
SignInAndUpCallback
c
May I ask how you find that out?
n
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
ThirdPartySignInAndUpCallbackTheme_Override or SignInAndUpCallback_Override?
And thanks for the help, really awesome stuff
n
Just to confirm, what recipe are you using?
c
thirdpartyemailpassword
n
Yep
ThirdPartySignInAndUpCallbackTheme_Override
is what you need then
c
Thanks
n
Happy to help
3 Views