Forum Discussion

Nicolae's avatar
Nicolae
Copper Contributor
Dec 09, 2024

OpenID Connect questions

Hi,

I have successfully configured SharePoint SE to use OIDC with ADFS, but I have some questions regarding how it works. Does SharePoint use the authorization code to get an access/refresh token? It doesn't really need it, but I'd still like to know. If yes, is there a way to access that token from code somehow?

 

1 Reply

  • tuckyblue's avatar
    tuckyblue
    Iron Contributor

    OIDC Configuration First Aid Kit:
    SP trust settings:

    powershell
    New-SPTrustedIdentityTokenIssuer -Name “OIDC” -MetadataEndpoint “https://login.microsoftonline.com/tenant-id/v2.0/.well-known/openid- configuration”  

Resources