In the MVC Sample the MVC application is working with Okta authentication. After getting the token when I try API call, it is failing with the following error:
An exception of type ‘System.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException’ occurred in System.IdentityModel.Tokens.Jwt.dll but was not handled in user code
I would check the type of issuer you are passing. If it looks like /oauth2 then you are using the root issuer for your Okta org. Instead you should use a custom authorization server. You may have a custom authorization server named “default”
@nate.barbettini@lee.brandt ^ - also, it might make sense to take a full look at the readme instructions because we have added a lot since the sample was originally built
As per the instructions in the project I used https://dev-******.oktapreview.com as the Issuer. After seeing your feed back I changed to https://dev-******.oktapreview.com/oauth2/default and still getting the same error. I also confirmed that my account has the default authorization server.