Developer Community

Ask a Question
Back to All

What's the recommended way to know the "connectorId" of a token?

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.

  1. Will connectorId always be available on the id_token received from the token endpoint?
  2. Is using the connectorId from JWT the recommended way to know which connector/institution is linked to that JWT?

Thank you.