How to get oid for OKTA with Azure as OIDC external provider

Pradeep Mishraji 1 Reputation point
2022-04-19T08:31:04.043+00:00

Hi,

Trying to add Azure as an external identity provider in OKTA as IDP provider to have Azure users login into OKTA integrated Applications.
We have tried same with SAML2.0 IDP with objectid as okta username(login) but not able to find the same(objectId-oid) under optional claims as any of IDtoken,AccessToken or SAML token.

Please suggest if I am missing something in the configuration.

When i used oidc debugger to fetch the accesstoken and idtoken though,seeing ""oid": "c35ec35b-c968-499d-bd53-f5283cbd335c"" in Accesstoken.

Suggest how to retrieve this value and use it in OKTA profile mapping to have the OKTA username as objectId using OIDC(same as SAML2.0 IDP setting) and eventually able to use account linking process for single user using both SAML2.0 IDP Azure and OIDC IDP Azure setup.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,768 questions
{count} votes