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

About authenticity_token #18

Open
medmin opened this issue Mar 21, 2017 · 2 comments
Open

About authenticity_token #18

medmin opened this issue Mar 21, 2017 · 2 comments

Comments

@medmin
Copy link

medmin commented Mar 21, 2017

Hi where do you get the authenticity_token? It seems you have got it before the example code so that you can use it in the example.

Sorry if this is a dumb question. I actually can get the authenticity_token from the source code of the "https://github.com/login" page. But it seems to become invalid soon after I get it.

@sunilsharma63
Copy link

@medmin did you figure this out? I have the same question - what do you use for the authenticity token?

@Jean-Baptiste-Lasselle
Copy link

Jean-Baptiste-Lasselle commented Nov 23, 2020

As of https://github.com/github/eslint-plugin-github/blob/main/docs/rules/authenticity-token.md I note that this authenticity token is a protection against CSRF vulnerabilities @medmin

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