scrapy / loginform

Fill HTML login forms automatically
270 stars 79 forks source link

About authenticity_token #18

Open medmin opened 7 years ago

medmin commented 7 years ago

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 commented 6 years ago

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

Jean-Baptiste-Lasselle commented 3 years ago

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