Open ID connect authentication through C# API, looking for working example

Has anyone got the code on this link to work. I have tried a few things with no luck, looks like this was written in C# 9, we are still using C# 7.3 . Also believe I am missing some referenced dlls. C# code sample for connecting to Tridion Docs OpenAPI with OpenID Connect and client credentials flow (https://docs.rws.com/en-US/tridion-docs-main-documentation-1151795/c-code-sample-for-connecting-to-tridion-docs-openapi-with-openid-connect-and-client-credentials-flow-1164024). Looking for any help I can get. TIAScreenshot showing three C# compiler errors in Visual Studio. Error CS0246: 'The type or namespace name TridionDocsClient could not be found'. Error CS0103: 'The name SelectedProperties does not exist in the current context'. Error CS0103: 'The name FieldGroup does not exist in the current context'.



Generated Image Alt-Text
[edited by: RWS Community AI at 7:30 PM (GMT 1) on 20 Jun 2025]
emoji