ASP.NET Core server authentication of access token from device authorization grant flow is failing
I’ve followed the instructions (https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-device-code) to obtain access_token
. I am trying to authenticate this access token against my ASP.NET Core 8.0 grpc service with this code.
asp.net core Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter ‘provider’) on app start
I am trying to mock out a user in my asp.net core web api application (right now I do not have any information how the user will authenticate, but I need to test te migrated API). For that I created a sample application to try it.