https://supertokens.com/ logo
i

Impecorator

07/04/2022, 10:28 AM
Hello. Is there a way to call supertokens login APIs from swagger? I want to try them, but in order to do so i need to append the cookies to test the authorized APIs
r

rp

07/04/2022, 10:33 AM
hey @Impecorator you can call them via postman. So first call the login API, and postman stores the cookies automatically, then you can call other APIs that require session verification
i

Impecorator

07/04/2022, 10:35 AM
I see that feature but i was asking myself if I can test from swagger too. Is this feature not supported yet?
r

rp

07/04/2022, 10:36 AM
you can use the swagger spec we have to call APIs, but im not sure if it will save cookies and stuff as expected.,
i

Impecorator

07/04/2022, 10:36 AM
ok, ty
4 Views