GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [ticket/17197] Replace OAuth library by CHItA · Pull Request #7045 · phpbb/phpbb Conversation
|
phpBB/composer.lockPackage changes
Dev Package changes
Settings · Docs · Powered by Private Packagist |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6fd4028 to
082ae9e
Compare
|
The composer.lock diff comment has been updated to reflect new changes in this PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b60c509 to
b4d2f0c
Compare
PHPBB3-17197
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Add a migration to remove the twitter oauth settings from the config
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think it should be included in the migration - but will double check.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think the lang string in common.php for the twitter oauth provider can also be removed now. Did you already tests this against google, etc. if oauth still works?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "doctrine/dbal": "^4.4", | ||
| "google/recaptcha": "~1.1", | ||
| "guzzlehttp/guzzle": " ^7.0", | ||
| "league/oauth2-client": "2.*", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
How about something like
| "league/oauth2-client": "2.*", | |
| "league/oauth2-client": "^2.8", |
or even 2.9
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <value>897a897b797c8789997d7979879</value> | ||
| <value>auth.provider.oauth.service.google</value> | ||
| <value>{"accessToken":"ya29.YPHwCWVkrvwu1kgbYKiDNYaQ451ZuHy9OEQAGVME8if-WBzR-v7a9ftxbx41kaL)5VLEXB-6qJEvri","endOfLife":1429959670,"extraParams":{"token_type":"Bearer","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"},"refreshToken":null,"token_class":"OAuth\\\\OAuth2\\\\Token\\\\StdOAuth2Token"}</value> | ||
| <value>{"access_token":"ya29.YPHwCWVkrvwu1kgbYKiDNYaQ451ZuHy9OEQAGVME8if-WBzR-v7a9ftxbx41kaL)5VLEXB-6qJEvri","expires":1429959670,"refresh_token":null,"values":{"token_type":"Bearer","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"}}}</value> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| <value>{"access_token":"ya29.YPHwCWVkrvwu1kgbYKiDNYaQ451ZuHy9OEQAGVME8if-WBzR-v7a9ftxbx41kaL)5VLEXB-6qJEvri","expires":1429959670,"refresh_token":null,"values":{"token_type":"Bearer","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"}}}</value> | |
| <value>{"access_token":"ya29.YPHwCWVkrvwu1kgbYKiDNYaQ451ZuHy9OEQAGVME8if-WBzR-v7a9ftxbx41kaL)5VLEXB-6qJEvri","expires":1429959670,"refresh_token":null,"values":{"token_type":"Bearer","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"}}</value> |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| $credentials = $this->get_service_credentials(); | ||
|
|
||
| return [ | ||
| 'clientId' => $credentials['key'], |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Erm, those don't seem to be the same as the generic provider getRequiredOptions?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
So for base get_provider() it will always throw. is there even a point of having the base method then?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * @var AbstractProvider service OAuth service | ||
| * @since 3.2.3-RC1 | ||
| * @changed 3.2.6-RC1 Added redirect_data | ||
| * @psalm-var string[] $vars |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
maybr add a changed here since this is no longer the same type?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.