LinkedIn login API - How to get/show user data in Bubble app

Hi,

I was able to set LinkedIn API for the user to log in using LinkedIn credentials. However, in my Bubble application, when I try to see Current user’s Id or Current user’s Email (I added email scope as well in my API), it returns nothing (no value, empty). Even if I only add the profile scope, I still can’t get the values from it (firtName, lastName, picture).

Everything seems to be ok… when I click my button “Login using Linkedin” the browser redirects, open LinkedIn login screen, I put user/password, it asks if I allow to share my information (profile, email), I allow, it redirects back to my page…so everything seems to be fine. I just need to know how to show / store these information of the user.

Could someone do it successfully?
Thanks in advance.

Can you link to the LinkedIn documentation you are using? And take a screenshot of your API plugin setup?

@heloysatancredo the SSO login plugin does exactly this, here is the link: SSO

Select LinkedIn from the list of providers and complete the setup. You will get profile info (name, email, state etc.) for each user that authorizes.

Save the user in your User database. You will get Current user’s Name and Email to use however you want.

Here’s the detailed documentation with workflows: https://docs.pathfix.com/single-sign-on-sso-login

Super late but I hope my article helps you in obtaining the primary email from LinkedIn!