-
Notifications
You must be signed in to change notification settings - Fork 31
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
8.next: Cake5 compatiblity #75
Conversation
…ros-uri Issue/69 fix zend diactoros uri
# Conflicts: # .github/workflows/ci.yml # composer.json # config/bootstrap.php # phpstan.neon # phpunit.xml.dist # src/Exception/InvalidProviderException.php # src/Exception/InvalidSettingsException.php # src/Rbac/Rules/AbstractRule.php # src/Rbac/Rules/Owner.php # src/Traits/IsAuthorizedTrait.php # tests/Fixture/PostsFixture.php # tests/Fixture/PostsUsersFixture.php # tests/Fixture/SocialAccountsFixture.php # tests/Fixture/UsersFixture.php # tests/TestCase/Authenticator/CookieAuthenticatorTest.php # tests/TestCase/Authenticator/SocialAuthenticatorTest.php # tests/TestCase/Authenticator/TwoFactorAuthenticatorTest.php # tests/TestCase/Controller/Component/OneTimePasswordAuthenticatorComponentTest.php # tests/TestCase/Middleware/RbacMiddlewareTest.php # tests/TestCase/Middleware/SocialAuthMiddlewareTest.php # tests/TestCase/Middleware/TwoFactorMiddlewareTest.php # tests/TestCase/Rbac/Rules/OwnerTest.php # tests/TestCase/Social/Service/OAuth1ServiceTest.php # tests/TestCase/Social/Service/OAuth2ServiceTest.php # tests/TestCase/Traits/IsAuthorizedTraitTest.php # tests/bootstrap.php # tests/schema.php
['provider' => implode('|', array_keys(Configure::read('OAuth.providers')))] | ||
); | ||
}); | ||
} |
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.
This has been moved to the routes()
method of the Plugin class
@@ -19,25 +19,25 @@ | |||
* | |||
* @package CakeDC\Auth\Auth | |||
*/ | |||
class DefaultWebauthn2fAuthenticationChecker implements Webauthn2fAuthenticationCheckerInterface |
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.
This was just a renamed to match the filename
due to the fact that I only checked |
@steinkel Should this be in a new branch n.next-cake5 or are we going to renamte PS: I don't see tags for 8.x |
Using this branch at CakeDC/users#1015 [WIP] |
I'd say tagging 8.x as it is now and using a 9.next-cake5 would be the way to go, thanks! |
This PR provides compatibility with the current Cake5 beta-1
This also of course required the following base adjustments in the composer.json
This also updates PHPStan and Psalm to the latest versions as well as PHPUnit to 9.5
I first tried to make CakeDC/Users Cake5 compatible but saw, that this plugin needs to be updated beforehand.
Since the current main branch is
6.next-cake4
I first did all the adjustments based on that one.Unfortunately I realized pretty late that
8.next-cake4
was present as well.Therefore I just merged 8.next into mine and fixed all the merge conflicts afterwards.