How can I verify jwt with server sdk. In the backend I want to do something that usually is not allowed to the user
TL;DR
To verify JWT server-side with a server SDK:
- Use a server SDK
- Call `client.setJWT()`
- Call `account.get()` to perform the necessary actions in the backend that are not typically allowed to the user.
Steven
28 Aug, 2024, 01:20
use a server SDK
call client.setJWT()
call account.get()
BeT
28 Aug, 2024, 01:23
and then create another instance of Client with api key? is this the only way?