https://supertokens.com/ logo
#general
Title
# general
a

Alex1s

02/15/2023, 4:38 PM
Hi, did anyone manage to secure command line applications using SSO with Supertokens ?
r

rp

02/15/2023, 4:40 PM
Hey @Alex1s
We have a demo app for this
Maybe this will help.
a

Alex1s

02/15/2023, 4:41 PM
Thank you very much, I'll try it out
r

rp

02/15/2023, 4:42 PM
It’s not exactly what you asked here, but it’s good enough to give you an idea
a

Alex1s

02/16/2023, 12:50 PM
How can I send authenticated requests to the backend from the CLI onced I've got the JWT ?
r

rp

02/16/2023, 12:50 PM
Use the JWT in your requests
And verify it on the backend using a JWT lib
a

Alex1s

02/16/2023, 1:34 PM
It would be great if the jwt verification could be handled by the sdk in the future
i find it's a pain to configure it with other existing patterns
r

rp

02/16/2023, 1:34 PM
We are planning on that too - very soon.
Where you can use the verifySession / getSession for JWT verification as well.
a

Alex1s

02/16/2023, 1:36 PM
Nice
15 Views