"Please enter the following verifier on the app" LinkedIn social login - angular-social-login

I am implementing social login in angular 6 app with Linkedin using this npm package
https://github.com/NarHakobyan/ngx-linkedIn
After clicking on allow popup in the Linkedin login page it redirects me to a page where the below text is written
Please enter the following verifier on the app:
*****.
I searched and found many peoples are facing this issue. Can you please tell how can I solve this?

You are using V1.0 of linkedin apis. They have migrated apis to V2.0. Use V2.0 ( doc ) and you won't get this error.
Sample Get request
https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=xxxxxxxx&redirect_uri=https://www.yoursite.com/oauth2/callback&state=fooobar&scope=r_liteprofile%20r_emailaddress%20w_member_social

Related

How to login and read Gmail using Robot Framework

Could you please suggest how can I access Gmail Inbox as it is restricting Robots at the time of login? For your reference, I am attaching the screenshots. I am using Robot Framework (Selenium) to automate.
P.S: I did enable the option "Less secure app access" in Google Account.

How to fix localhost Facebook apps “Error: Can’t Load URL: The domain of this URL isn’t included in the app’s domains”

I know that this question has been asked previously in this link Facebook OAuth "The domain of this URL isn't included in the app's domain" , but the solution is not working for me and it doesn't strictly similar to my issue.
I'm trying to setup Facebook OAuth to work with my application that is being developed locally on my machine.
I followed every steps from facebook guide:
I created my application
I added a web platform with the url http://localhost/
I added Product Facebook Login
I added code for Continue with Facebook button described here in my html page
Facebook button is on my page but it doesn't work when I click on it (Error: Can't Load URL: The domain of this URL isn't included in the app’s domains).
I tried to add a domain (localhost, http://localhost, http://localhost:5000) but it didn't work.
I then added http://localhost:5000/ to the field 'Valid OAuth redirect URIs', but no improvement.
Here my Facebook login settings :
login setting
Thanks for your answers !

how to create an web api for login /signup with google and facebook

Does anyone know that how to create a web-services to login and register with facebook and google ?
-thanks in advance
If you are using codeigniter this is where you will find all the info you need. Codeigniter Facebook.
You will also need Facebook PHP SDK wich can be found here Facebook SDK , and you also have to create an app in you facebook developer's account Facebook developers. Next you have to place in your libraries folder folder the SDK from facebook and the library mentioned above and in config folder the facebook config where you will have to enter your app's id and secret received from Facebook developers.Also don't forget to
require_once FCPATH.'/application/libraries/Facebook/autoload.php';
in the Facebook library.Then you should be able to use it just like in the example from Codeigniter Facebook.

facebook loginbutton on wp8 issues

I am using facebook c# sdk in my windows phone 8 app. When I click the login button of the facebook Controls using the loginbutton control it ask for username and password.
After entering the credentials it shows me
"security warning please treat the url above as you would your password and do not share it with any..." page and then I cannot do anything.
It is always showing me the same page.
Also the sandbox mode for the facebook app whose id I am using in wp8 app is disabled.
I filed a bug report to Facebook today on this issue, posted one workaround to the Facebook SDK for .NET - Security Warning Issue thread.
The short answer is that authorization is broken and adds a question mark after the redirect_uri link, and FacebookSDK.NET does direct comparison between actual and expected Uri, and fails.

PhoneGap index page

i know that the index.html page (the PhoneGap startup page) needs to reside on the device. but if we want to create an app who uses third party user authentication before proceeding to core application, so then what we have to do?
Thanks in advance
On android you can change the starting page in the main activity or you can make a redirect in index.html
Well, you don't say if you are platform specific..
And there are lots of third party auth options..
But I can offer two solutions (admittedly my own code etc),
both of them use PhoneGap for Android and PhoneGap Plugins. The key piece of code for me has been the onLocationChange callback feature of the ChildBrowser plugin. Your app can take the user to other sites for auth or whatever, but still get control back.
Tutorial on Using Twitter REST API (OAuth 1, ChildBrowser, jsOAuth plugin)
Free Android App + Source on github : AppLaud App (OpenID, ChildBrowser, custom server)
For authentication, you can have a form in your index.html (maybe under login div) to do a post to an actual webserver.
Then, fetch the data returned from the webserver to let your user access the functionality of your native phonegap application.
You can have the functionality disabled until you receive the successful login from the webserver. If you post via ajax, the webview won't even blink, but you will still get the successful login response from webserver and simply enable functionality on your app after this.
Let me know if this is confusing and I'll try to explain more clearly and
I hope this helps.