https://supertokens.com/ logo
Title
s

SuperTurk

11/28/2022, 3:34 PM
Hi, couldn't find a proper answer in the history to solve my problem. I wanna use the supertokens-react-auth with a custom UI with a third party provider. I couldn't find something on the docs about that. Is there a simple way to just SignIn, redirect to the provider login and getting to the callback URL ?
r

rp

11/28/2022, 3:35 PM
Hey @SuperTurk
Have you seen the build your own ui section in the docs?
It has steps on how to do this
s

SuperTurk

11/28/2022, 3:42 PM
Wich one ? I've just seen custom ui for js SDK and not react one 🤔
Like this one https://supertokens.com/docs/thirdparty/custom-ui/init/frontend is good but not integrated to react-auth
r

rp

11/28/2022, 3:55 PM
ah right. So you can follow the same steps on that one, but instead of importing from web-js, import from auth-react.
s

SuperTurk

11/28/2022, 3:58 PM
Really ? Okk I wanna try this now
r

rp

11/28/2022, 3:58 PM
And you can disable the default UI that the auth-react SDK provides by passing that config to the supertokens.init on the frontend.
s

SuperTurk

11/28/2022, 4:32 PM
Yeah it's working as I wanted, thank you 🙂
r

rp

11/28/2022, 4:34 PM
Nice