@stefan-0 said in Azure AD token absent in link API response:
We are using Azure AD as an external identity provider via the OIDC integration, which works great and users are authenticated as expected, happy days.
We have recently however had a customer request that would require us to retrieve the access token returned from Azure AD for further processing. We can see from the debug logs that the access token is returned from Azure AD, but using the Retrieve a Link API yields an empty token property in the response in all instances. While the API documentation does say that the token may not be available in all cases, other documentation specifically for the Azure AD OIDC integration details a token storage step in the authentication flow. Have we misinterpreted the documentation here or should the token be available?
@stefan-0 said in Azure AD token absent in link API response:
We are using Azure AD as an external identity provider via the OIDC integration, which works great and users are authenticated as expected, happy days.
We have recently however had a customer request that would require us to retrieve the access token returned from Azure AD for further processing. We can see from the debug logs that the access token is returned from Azure AD, but using the io games
API yields an empty token property in the response in all instances. While the API documentation does say that the token may not be available in all cases, other documentation specifically for the Azure AD OIDC integration details a token storage step in the authentication flow. Have we misinterpreted the documentation here or should the token be available?
Since you mentioned that the debug logs show the token is returned, verify the exact point at which the token is being processed. This can help identify if it’s being lost or not stored correctly.