Title: authCodeHandler's state != get_CSRF_token(request) check keeps failing · Issue #10 · IntuitDeveloper/OAuth2PythonSampleApp · GitHub
Open Graph Title: authCodeHandler's state != get_CSRF_token(request) check keeps failing · Issue #10 · IntuitDeveloper/OAuth2PythonSampleApp
X Title: authCodeHandler's state != get_CSRF_token(request) check keeps failing · Issue #10 · IntuitDeveloper/OAuth2PythonSampleApp
Description: This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line elif state != get_CSRF_token(request): # validate against CSRF attacks in the authCodeHandler view function. I've been t...
Open Graph Description: This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line elif state != get_CSRF_token(request): # validate against CSRF attacks in the au...
X Description: This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line elif state != get_CSRF_token(request): # validate against CSRF attacks in th...
Opengraph URL: https://github.com/IntuitDeveloper/OAuth2PythonSampleApp/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"authCodeHandler's state != get_CSRF_token(request) check keeps failing","articleBody":"This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line\r\n\r\n`elif state != get_CSRF_token(request): # validate against CSRF attacks`\r\n\r\nin the authCodeHandler view function. I've been trying with the Connect to Quickbooks button.\r\n\r\nI can comment out this check, but then I am not validating against CSRF attacks, and this is probably insecure. Can anyone help me understand why my sandbox app cannot pass this validation?\r\n\r\nThanks","author":{"url":"https://github.com/jhselvik","@type":"Person","name":"jhselvik"},"datePublished":"2020-07-30T23:25:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/OAuth2PythonSampleApp/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef6b8322-10ef-6358-7979-ec7c30108e62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B12E:26FE0E:30EE364:31948A8:69702DD5 |
| html-safe-nonce | 27964449170f124408f249522095510f301968f85a3065138ee977156baf6b5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTJFOjI2RkUwRTozMEVFMzY0OjMxOTQ4QTg6Njk3MDJERDUiLCJ2aXNpdG9yX2lkIjoiODIzMzczMzk4ODA3Njg2NjEzIiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | 7e3beb671fd4ff4c756b39a0ff5b479e237a83ab391a51f3c37499428d2ed97a |
| hovercard-subject-tag | issue:669274271 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IntuitDeveloper/OAuth2PythonSampleApp/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/17eb63b39eb942479025eddf94c6268ba560ed9eb3a3ac6f4fe0c80398a5a0c2/IntuitDeveloper/OAuth2PythonSampleApp/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17eb63b39eb942479025eddf94c6268ba560ed9eb3a3ac6f4fe0c80398a5a0c2/IntuitDeveloper/OAuth2PythonSampleApp/issues/10 |
| og:image:alt | This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line elif state != get_CSRF_token(request): # validate against CSRF attacks in the au... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jhselvik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc |
| turbo-cache-control | no-preview |
| go-import | github.com/IntuitDeveloper/OAuth2PythonSampleApp git https://github.com/IntuitDeveloper/OAuth2PythonSampleApp.git |
| octolytics-dimension-user_id | 9217998 |
| octolytics-dimension-user_login | IntuitDeveloper |
| octolytics-dimension-repository_id | 96820954 |
| octolytics-dimension-repository_nwo | IntuitDeveloper/OAuth2PythonSampleApp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 96820954 |
| octolytics-dimension-repository_network_root_nwo | IntuitDeveloper/OAuth2PythonSampleApp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dda91974c069382b0dfa47b2da7e28bd061c8331 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width