SevenSpikes / api-plugin-for-nopcommerce

API plugin for nopCommerce
MIT License
285 stars 212 forks source link

How can I use this API-Plugin with mobile app? #160

Open rajeshckalyankar opened 6 years ago

rajeshckalyankar commented 6 years ago

I am new to nopCommerce and .Net Core as well. I am using nopCommerce 4.1. Added API-Plugin from admin. Also added API-Plugin project source code at Root -> 'Plugins' Folder -> Nop.Plugin.Api. API-Plugin is tested and working on 'Postman'. I am developing a mobile nopCommerce app. How can I use this API-Plugin with my mobile app? How can I do other operations like - Login, Registration, Password Recovery & so on, using this API-Plugin? Or other nopCommerce functionalities which is missing in this API-Plugin? What steps I need to do to get this API-Plugin fully functional with my mobile app? Can I call nopCommerce's controller/services from this API-Plugin? How?

And one more thing, In case of mobile app the "Callback Url" will change every time when new user use mobile app. So what will be the "Callback Url" while creating API Client for mobile app from Admin?

Please help me to resolve this.

Thanks in advance. Rajesh

solutioncoreinc commented 5 years ago

You have to change Authentication mechanism in plugin from Authorization code flow to may be some Hybrid flow to support mobile clients.

fahmedkhan commented 5 years ago

I have the same query as stated by Rajesh. @rajeshckalyankar did you find any solution? If yes then please guide me. I also need APIs for login, registration and forget password for mobile App.

Thanks, Faisal

btufinoeikon commented 5 years ago

I also need any documentation about this, help please!.