-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stable13] Improve OAuth #9540
[stable13] Improve OAuth #9540
Conversation
This for example will allow rotating the apptoken for oauth Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2214708
to
8fcb7d4
Compare
Codecov Report
@@ Coverage Diff @@
## stable13 #9540 +/- ##
=============================================
+ Coverage 51.38% 51.4% +0.01%
- Complexity 25052 25081 +29
=============================================
Files 1609 1612 +3
Lines 95350 95457 +107
Branches 1376 1376
=============================================
+ Hits 48999 49066 +67
- Misses 46351 46391 +40
|
a70250d
to
710f0dd
Compare
However due to the nature of what we store in the token (encrypted passwords etc). We can't just delete the tokens because that would make the oauth refresh useless. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
710f0dd
to
46aafe4
Compare
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
On a refresh token request: * rorate * reset expire Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@@ -6,8 +6,14 @@ | |||
|
|||
class ComposerStaticInit53792487c5a8370acc0b06b1a864ff4c | |||
{ | |||
public static $firstCharsPsr4 = array ( | |||
'O' => true, | |||
public static $prefixLengthsPsr4 = array ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I had to rerun the autoload dump. And I guess there is a new composer version ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works 👍
Backport of: