Title: Google OAuth 2 API support. by lsolova · Pull Request #210 · scribejava/scribejava · GitHub
Open Graph Title: Google OAuth 2 API support. by lsolova · Pull Request #210 · scribejava/scribejava
X Title: Google OAuth 2 API support. by lsolova · Pull Request #210 · scribejava/scribejava
Description: Hello Pablo, I have to support Google OAuth 2 login in my project. I added this API to the apis, and there are some additional changes too. First of all the grant_type is a required parameter in OAuth 2, so it could be set via API objects yet. The Google API requires some changes in request parameter handling, because they wanna use POST instead of GET. So I merged body parameters and querystring parameters, and only the Verb defines the request method. The Google access_token answer contains whitespaces between the name and the colon - I changed the regex pattern of JsonTokenExtractor to tolerate this. Please, check my changes, and if you find them useful, then pull it back please in the main project. I tested the new version against Facebook, Live and Google via OAuth 2 interfaces. Thanks for this great library! Regards, Laszlo
Open Graph Description: Hello Pablo, I have to support Google OAuth 2 login in my project. I added this API to the apis, and there are some additional changes too. First of all the grant_type is a required parameter in OA...
X Description: Hello Pablo, I have to support Google OAuth 2 login in my project. I added this API to the apis, and there are some additional changes too. First of all the grant_type is a required parameter in OA...
Opengraph URL: https://github.com/scribejava/scribejava/pull/210
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9aff05b5-b4a9-304f-2b4a-d2149b57c831 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E1A:249CA9:1401F15:1AAEF2B:6A5AB8C4 |
| html-safe-nonce | 1d64ca676e40a7cdbd2f8a8e70a9d5eb1d00c02b9297fb3ed96f5e2f87a3a390 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTFBOjI0OUNBOToxNDAxRjE1OjFBQUVGMkI6NkE1QUI4QzQiLCJ2aXNpdG9yX2lkIjoiNTIyMTcxNzgzMDMzMzU0NDY0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b422fac2ca6468312770df4047707b1c8cc5d875587d224e45a5392993b5cef2 |
| hovercard-subject-tag | pull_request:643614 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/scribejava/scribejava/pull/210/files |
| twitter:image | https://avatars.githubusercontent.com/u/101145?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/101145?s=400&v=4 |
| og:image:alt | Hello Pablo, I have to support Google OAuth 2 login in my project. I added this API to the apis, and there are some additional changes too. First of all the grant_type is a required parameter in OA... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2702febe50e53f9152dda552dc2049a5eb182778b2655abd5b8619e82e899b4a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/scribejava/scribejava git https://github.com/scribejava/scribejava.git |
| octolytics-dimension-user_id | 15140551 |
| octolytics-dimension-user_login | scribejava |
| octolytics-dimension-repository_id | 889932 |
| octolytics-dimension-repository_nwo | scribejava/scribejava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 889932 |
| octolytics-dimension-repository_network_root_nwo | scribejava/scribejava |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0211a077f9b056c5e115f996d9049616d85c3b5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width