https://supertokens.com/ logo
#community
Title
# community
y

yyogeshwar

04/05/2022, 1:21 PM
Basically our use case is that we want to use
Passwordless
recipe and then want to issue custom claims as mentioned here https://supertokens.com/docs/passwordless/hasura-integration/with-jwt#3--add-custom-claims-to-the-jwt.
r

rp

04/05/2022, 1:22 PM
Hey! You can have custom claims without using jwt as well. You can add them to the access token itself and that is accessible on the frontend and backend.
y

yyogeshwar

04/05/2022, 1:23 PM
what about using it with `Passwordless `recipe
r

rp

04/05/2022, 1:23 PM
yea. Passwordless uses Session recipe inside it
You have to use them together.
y

yyogeshwar

04/05/2022, 1:25 PM
so basically my receipe list will be array then
r

rp

04/05/2022, 1:25 PM
Yes
n

nkshah2

04/05/2022, 1:25 PM
Yep
r

rp

04/05/2022, 1:25 PM
Just like the docs shows it in the quick setup section
y

yyogeshwar

04/05/2022, 1:26 PM
once
Passwordless.consumeCode
verifies the code ,
Session
receipe will take over and we can manage from there onwards
r

rp

04/05/2022, 1:26 PM
exactly.
2 Views