Issue with Linked oAuth2.0 in signing up

Satanik Dutta G
Tera Contributor

Hello Experts,

 

I am trying to register an unknown user into ServiceNow through linkedIn oauth sign in API. 

 

My plan is, once an unknown user clicks on "Sign up with LinkedIn" button, it will call the API, fetch the name, email id and photo, and the moment I receive the details, I will create the user in the backend in ServiceNow with proper roles and let him in my ServiceNow portal.

 

The issue is, the authentication mechanism is working when I am testing it by hitting the portal page while already logged in. But if not logged in, the moment I click on the login button, it opens the popup with the servicenow login screen. 

 

Any help ?

 

Thanks,

Satanik

0 REPLIES 0