You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.
I have created the new API project in .NET Core 2.2 version and need to configure OAuth 2 client credential grant type, in my case when a request from the server & processed the request & return the response to the same server. This is not an OAuth client configuration.
So, I have configured the AspNet.Security.OpenIdConnect.Server in my Startup.cs file. I didn't get the access token value from the Open Connect Id server Provider and returned 404 Not-found error from the Postman/Restlet API extension.
public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseAuthentication(); }
I have used this URL (https://localhost:44397/token) for getting access token from the Restlet API chrome extension/Postman app. Please help to resolve this and explain the solution to my problem.
Otherwise, need to change anything in the startup code. Please suggest your ideas.
Regards,
Karthick R
The text was updated successfully, but these errors were encountered:
Hi Team,
I have created the new API project in .NET Core 2.2 version and need to configure OAuth 2 client credential grant type, in my case when a request from the server & processed the request & return the response to the same server. This is not an OAuth client configuration.
So, I have configured the AspNet.Security.OpenIdConnect.Server in my Startup.cs file. I didn't get the access token value from the Open Connect Id server Provider and returned 404 Not-found error from the Postman/Restlet API extension.
Please find the below Startup code.
`public void ConfigureServices(IServiceCollection services)
Then, added the below code in the same file.
public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.UseAuthentication(); }
I have used this URL (https://localhost:44397/token) for getting access token from the Restlet API chrome extension/Postman app. Please help to resolve this and explain the solution to my problem.
Otherwise, need to change anything in the startup code. Please suggest your ideas.
Regards,
Karthick R
The text was updated successfully, but these errors were encountered: