How to obtain Access/Refresh tokens

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hello Stoyan.

I am trying to migrate your nopCommerce-Api-SampleApplication to an Asp.Net Core 2.0 program.

At the point in the "Submit" post where it does the return Redirect(authUrl);, it just hangs up without an error message and there is nothing in the Admin\System\Log.

When I return to using your original sample application, it runs fine.

I was wondering if you could suggest how I would debug this situation.

Thanks,
Tony
5 years ago
To fix this issue, I added this route to the Startup.cs file:

routes.MapRoute(
    name: "token",
    template: "token",
    defaults: new { controller = "API", action = "GetAccessToken" });
5 years ago
[[email protected]]@Nop-Templates.com I'm trying to use the api for a mobile application implementation with Nop, and there is no call back url when comes to getting an access token ...

Any one knows how to implement this ? Which part of the code to change for the plugin Nop.Plugin.Api
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.