NoCommerce 3.80 External Login Plugins

359 views Asked by At

I am new to NopCommerce as well as C# MVC. I am working on NopCommerce 3.80.

As per Instructions I downloaded Google+ Plugin from NopCommerce Official site and Installed it and also configured it.

But when i click on Login with google button, it shows an error of

Google OAuth 2 authorization - Error: redirect_uri_mismatch

enter image description here

Can anybody help me to solve this ?

And another Question is do I have to create a Class Library for the External Authentication as like Facebook(Inbuilt Plugin) ??

2

There are 2 answers

0
Jay Patel On BEST ANSWER

I got the solution.

I haven't given correct callback URL that's why it's showing redirect_uri_mismatch error. the URL I added is

  • "localhost:15536/plugins/externalauthGoogle/logincallback/"

1
Linda Lawton - DaImTo On

The redirect URI that you entered in Google developer console must exactly match the location you are trying to authenticate from this includes the port number I can see in your message.

I don't know enough about nop to tell you if you could use the Google .net client library for your application.