Developer Community
What's the recommended way to know the "connectorId" of a token?
about 1 year ago by null
When exchanging the "code" from OAuth flow for tokens by calling https://docs.akoya.com/reference/token, we receive, among other things, the id_token
.
When deserializing the JWT, I can see that there is a connectorId
with the name of the connect/institution.
However, when I refresh the token, the new JWT won't have this field.
- Will
connectorId
always be available on the id_token received from thetoken
endpoint? - Is using the
connectorId
from JWT the recommended way to know which connector/institution is linked to that JWT?
Thank you.