Title: Issue saving access token · Issue #2 · Meeks91/nodeJS_OAuth2Example · GitHub
Open Graph Title: Issue saving access token · Issue #2 · Meeks91/nodeJS_OAuth2Example
X Title: Issue saving access token · Issue #2 · Meeks91/nodeJS_OAuth2Example
Description: I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code. I had to make the following two changes: In your "accessToken...
Open Graph Description: I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code. I had to make the fol...
X Description: I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code. I had to make the fol...
Opengraph URL: https://github.com/Meeks91/nodeJS_OAuth2Example/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue saving access token","articleBody":"I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code.\r\n\r\nI had to make the following two changes:\r\n- In your \"accessTokenModel.js\", function \"saveAccessToken\", I had to modify the call to: \"accessTokensDBHelper.saveAccessToken(accessToken, user.**username**, callback)\", and\r\n- In your \"accessTokensDBHelper.js\", function \"saveAccessToken\", I had to modify the SQL query to INSERT INTO access_tokens (access_token, user_id) VALUES (\"${accessToken}\", **\"${userID}\"**) ON DUPLICATE KEY UPDATE access_token = \"${accessToken}\";\r\n\r\nI haven't examined this much so I am not certain if this is the correct fix.","author":{"url":"https://github.com/rburckner","@type":"Person","name":"rburckner"},"datePublished":"2018-04-29T05:48:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/nodeJS_OAuth2Example/issues/2"}
| 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:9898e467-f6be-6c83-4c03-aca3da58392b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C52:200AE9:12550:1780D:69783AC7 |
| html-safe-nonce | dd1e3896ca1a367a7c2b0b8fd0354f92e8545050ab24e453584159de0cb15dd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzUyOjIwMEFFOToxMjU1MDoxNzgwRDo2OTc4M0FDNyIsInZpc2l0b3JfaWQiOiIzMjIwMTEwODUyNDQ2NzYzNzE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 81e8ce372648bd990be8b143cfbb3688da3d5261206e1380c30e5757878f8649 |
| hovercard-subject-tag | issue:318692126 |
| 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/Meeks91/nodeJS_OAuth2Example/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b9dcd0c890491e2733305b963ce153ac702cba0af966db4319921222eed0aba/Meeks91/nodeJS_OAuth2Example/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b9dcd0c890491e2733305b963ce153ac702cba0af966db4319921222eed0aba/Meeks91/nodeJS_OAuth2Example/issues/2 |
| og:image:alt | I am new to Node JS and GitHub. I found your example very enlightening. I hope to tailor this for my needs but wanted to report a problem I had saving a token using your code. I had to make the fol... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rburckner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/Meeks91/nodeJS_OAuth2Example git https://github.com/Meeks91/nodeJS_OAuth2Example.git |
| octolytics-dimension-user_id | 10248875 |
| octolytics-dimension-user_login | Meeks91 |
| octolytics-dimension-repository_id | 98024155 |
| octolytics-dimension-repository_nwo | Meeks91/nodeJS_OAuth2Example |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 98024155 |
| octolytics-dimension-repository_network_root_nwo | Meeks91/nodeJS_OAuth2Example |
| 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 | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width