Access domain name through OpenID Claim


Is it possible to retrieve the domain name of the user logging in from Okta if syncing with Active Directory when using OIDC?


You can apply a transformation expression on the distinguishedName of the user object to extract the domain name and map that to a claim in authorization server for OIDC token