I’m getting several errors in the Startup.cs class. They all are around creating the TokenClient class. It wants only two parameters, but the example gives three. I have a feeling this Startup.cs class is from MVC and causing this error? I’m not sure. Here is the code:
var tokenClient = new TokenClient($"{_authority}/v1/token", _clientId, _clientSecret);
Error => ‘TokenClient’ does not contain a constructor that takes 3 arguments
The signature it calls for is TokenClient(HttpMessageInvoker, TokenClientOptions)
I was able to resolve the error by doing this, also changing to version 3.10.10 worked too. I’m curious if Okta Devs have any other suggestions though. I’d prefer running a more current version of IdentityModel if possible instead of going back 2 whole versions