cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
691
Views
0
Helpful
1
Replies

Can I covert a JWT token it into a access token?

rust
Level 1
Level 1

hello, I am just trying out the WebEx browser SDK on a project. and I am not sure if I am able to be the thing I want.

here is what I have been doing. I created an authentication function to authenticate a JWT token, then I wanted to use the token to call someone( WebEx user ) with that token. Is there any way to do it by just using the JWT token or do I need to covert it into a access token? if the latter is right, is there a way to do it easily?

1 Reply 1

Jeff Marshall
Cisco Employee
Cisco Employee

The SDK has a help function that will exchange the JWT for the access token. It's called requestAccessTokenFromJwt. The Guest Issuer guide has examples for the different SDK as well as an example exchanging the JWT for Token by doing a POST to https://webexapis.com/v1/jwt/login.