Hi, I tried the cool SSO with Linkedin, and had 2 ...
# support-questions-legacy
o
Hi, I tried the cool SSO with Linkedin, and had 2 issues, One is that your Node SDK has the old LinkedIn scope
r_emailaddress
instead of
email
PR attached https://github.com/supertokens/supertokens-node/pull/703 The other issue is that after I've got the token I still cannot get
/me
, instead I'm getting an error
Not enough permissions to access: GET /me
Although I have the permissions in my App/Auth
r
hey @odedbd thanks for the PR. @sattvikc can help here.
s
hey @odedbd
we are updating our SDK to support the new linked in open id. Meanwhile you can use the following config to use linkedIn:
Copy code
{
    config: {
        name: "Linkedin OpenID",
        thirdPartyId: "custom-linkedin",
        clients: [
            {
                clientId: "...",
                clientSecret: "...",
                scope: [
                    'openid',
                    'email',
                ],
            }
        ],
        oidcDiscoveryEndpoint: "https://www.linkedin.com/oauth/"
    }
}
o
Thanks @sattvikc , I did it and got the second error that I wrote
Not enough permissions to access: GET /me
And this is how my linkedin app looks like
s
can I see your suprtokens init ?
linked in dashboard seems fine
o
It is your demo app
send it to you in private
Thanks @sattvikc for your help
message has been deleted
s
great, happy to help 🙂
4 Views