'Generate access token using openid connect (OAuth 2.0) c#

I'm trying to try to implement oAuth login(openid) to my app.

How can I Generating OAuth 2.0(Openid connect) Access Token with C#

These are the fields i use to geneate access token in postman

I also try to use postman auto generated code snippet for C# - RestSharp but it did not work

Any ideas? Thank you in advance!



Solution 1:[1]

I can't understand clearly what you mean but i think that you try to implement basic auth logic to your app. For this purpose, you can use IdentityServer in .NET. IdentityServer implements both OpendId and OAuth concepts. After implementing Identity Server to your app, you can authenticate/authorize by using postman.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Onurkan Bak?rc?