I'm trying to build a generic OIDC validation extension that supports both OKTA and ADFS based on some configuration. The extension referees to "Microsoft.IdentityModel.Protocols.OpenIdConnect" version 6.7.1.
I have no issues running unit tests, but when trying to access the extension actions from the reactive web, I notice exception "IDX20803: Unable to obtain configuration from " followed by the root issue
"Could not load type 'Microsoft.IdentityModel.Json.JsonConvert' from assembly 'Microsoft.IdentityModel.Tokens, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ".
The extension has a reference to "Microsoft.IdentityModel.Tokens, Version=6.7.1" in spite the execution is under "Microsoft.IdentityModel.Tokens, Version=5.2.2.0".
So it is clear that my latest version of the dll never made it to the server, just like Newtonsoft.Json.
Any idea what might be happening here and how to address the problem.
Arun,
Take a look at this course.
It has a topic that explain how to use Nugget Packages and external resources for your extensions it might help to clarify any problem with your extension.
Hope it helps,
Cheers and Regards,
RR :)
Hi @Raphael Ranieri ,I have similar issue that i cant't use Microsoft.IdentityModel.Tokens, Version=6.7.1 in Extension that I made. Outsytems run it using Microsoft.IdentityModel.Tokens, Version=5.2.2.0,I amfollowing the tutorial in this https://www.outsystems.com/training/lesson/1840/using-a-nuget-package,
ensure its Copy Local property is set to “True” in Visual Studio,
and set Include In Extension for packages.config in Integration Studio,but all of that doesn't working.
trying re-create the module a couple time always resulting same error like above.
Anyone can help to solve this?