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

CSRF value is empty on cookie refresh #32

Closed
tonesto7 opened this issue Aug 27, 2019 · 4 comments
Closed

CSRF value is empty on cookie refresh #32

tonesto7 opened this issue Aug 27, 2019 · 4 comments

Comments

@tonesto7
Copy link

I'm receiving a valid cookie just not the csrf.

2019-08-27T14:49:13.220494+00:00 app[web.1]: loginData:  { amazonPage: 'amazon.com',
2019-08-27T14:49:13.220508+00:00 app[web.1]:   csrf: undefined,
2019-08-27T14:49:13.220511+00:00 app[web.1]:   deviceId:
2019-08-27T14:49:13.220514+00:00 app[web.1]:    '655457071046460250781350320567413632507206565623838656668324238223413249564c5635564d32573831',
@tonesto7 tonesto7 changed the title CSRF value is null on cookie refresh CSRF value is empty on cookie refresh Aug 27, 2019
@tonesto7
Copy link
Author

tonesto7 commented Aug 27, 2019

I modified the csrfOptions to this and it seems to be working now.

const csrfOptions = [
    '/api/language',
    '/spa/index.html',
    '/api/devices-v2/device?cached=false',
    '/templates/oobe/d-device-pick.handlebars',
    '/api/strings'
];

@Apollon77
Copy link
Owner

Thank you. I will include it soon (or can you send a PR?)

@gabriele-v
Copy link

PR sent

@Apollon77
Copy link
Owner

Thank you very much!! I will merge soon

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

No branches or pull requests

3 participants