Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] in sample: linkedin-auth #822

Open
taylorchance opened this issue Jan 28, 2021 · 6 comments
Open

[BUG] in sample: linkedin-auth #822

taylorchance opened this issue Jan 28, 2021 · 6 comments

Comments

@taylorchance
Copy link

I follow the code to a tee, and it keeps coming back "Error in the token Function: undefined"

@urwolf
Copy link

urwolf commented Feb 17, 2021

I'm having the same issue.

@urwolf
Copy link

urwolf commented Feb 17, 2021

The problem is,
req.cookies.state in the function, "exports.token" of the index.js file of linkedin-auth is null.
So the function tokenReceived inside the pop.html file is receiving the data parameter as empty and that is showing this error.

@decheftw
Copy link

decheftw commented May 31, 2021

Has anyone found a solution to this yet? PR #852 did not resolve this issue for me @tomcurran.

@decheftw
Copy link

decheftw commented Jun 2, 2021

I've found that after #852 my __session cookie does not persist in the token function. However, if I call the token function manually, (console log script.src in popup.html and following the link), the cookie does persist. Any ideas?

@chrismatthieu
Copy link

Confirmed that #852 pull request does not fix this issue too.

@sanozie
Copy link

sanozie commented Aug 17, 2021

Also confirmed that the pull request doesn't work, trying some things now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants