Why does Supertokens not provide an out of the box...
# general
r
Why does Supertokens not provide an out of the box solution for implementing a browser-based login from a mobile app, why is is so complex to build that?
r
hey @rubenstolk you can always follow our guide for website login, and then open a browser in the mobile app to login the user there. Once logged in, you can send the JWT to the mobile app to create a session specifically for the mobile app.
However, thats not the best UX since it's in a browser and not native to the app. But up to you
r
I was assuming that Supertokens would come with some standard SDKs like most Auth providers do.
r
most other auth providers launch a web browser to do the login
and you can do that too with supertokens, as i mentioned above.
r
Right, but we would have build that logic ourselves if I'm correct?
r
logic of launching the web browser and consuming the jwt?
yea
r
Can you invite my colleague @sandulat into this channel?
r
they should already have access to it
r
He can't see the general channel because it's private I think?
I don't remember how I got here 🙂
r
now he should
r
OK thanks
r
he didn't answer all questions from the bot
but i verified him now.. so all good
r
Amazing, thank you
s
Thanks @rp_st!
Regarding the discussion above, yeah that's what we've though. We just wanted to make sure if there is or is not a recommended guide on that.
r
Is it something for the roadmap, to have this as a nice SDK for React Native etc?
r
We could add it. Or at least docs for it which you can use to copy / paste
you could open an issue about it, to keep track of it.
FYI, once you have the JWT in the mobile app, you can use that to call an api that does session verification and then creates its own session manaually here. As shown here: https://supertokens.com/docs/session/common-customizations/sessions/new-session