i am struggling to get openidconnect to work on .net 8 can someone post a full example of how it works. I keep getting remote login failure. I have an api controller which i decorated with [Authorize] Any help appreciated. I am migrating from .net 4x to .net 8 (still a little new to all the syntaxes)
I want to authorize and authenticate user using API – there is no client login page involved. I have authority,clientid and secret I keep running into remotefailure message state is empty or null
I have tried everything on the net , even tried jwtbearer. I have added useauthenticaion and useauthorization after use routing. I just want this on controller to use [Authorize] attribute and i want to be able to read the User and get claim infor which is all null or 0
user25457542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.