hi, is there any example to use super tokens with hasura as main endpoint for auth ?
t
hi, is there any example to use super tokens with hasura as main endpoint for auth ?
r
Hey. We don’t have such an example.
Something like this would only be possible if hasura allows you to run serverless functions
What’s the need for this though?
t
ah i see, i just saw a video on hasura channel about super tokens, it just interesting if we have hasura as main endpoint. so everything is behind hasura graphql.
r
I see
This depends on hasura unfortunately.
t
okay, no problem. another question is, is there any sveltekit example ? i am planning to use python FastAPI as backend, and sveltekit as frontend, should i use supertokens-web-js for the frontend ?
or could we use the react auth for the login only for faster login UI development, and redirect to sveltekit frontend and fetch the callback
r
You could use the react pre built ui on a /auth route on the frontend
And you could also make it so that react is only bundled on that route.
See our angular / vue examples. Maybe similar steps apply to svelte
t
got it, will check it, thanks!