Skip to content
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

Fix authentication to Tarantool >= 2.11 #175

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Conversation

oleg-jukovec
Copy link
Contributor

The authentication method is checked on the server-side since Tarantool 2.11 [1]. In fact, this has been required before [2].

So we need to add the authorization method value into the AUTH_REQUEST.

  1. tarantool/tarantool@b5754d3
  2. https://www.tarantool.io/en/doc/1.10/dev_guide/internals_index/#authentication

The authentication method is checked on the server-side since
Tarantool 2.11 [1]. In fact, this has been required before [2].

So we need to add the authorization method value into the AUTH_REQUEST.

1. tarantool/tarantool@b5754d3
2. https://www.tarantool.io/en/doc/1.10/dev_guide/internals_index/#authentication

Co-authored-by: Ivan Keberlein <i.keberleyn@it.ecommpay.com>
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/auth-fix branch 2 times, most recently from 25f2382 to 9e31f37 Compare June 24, 2024 12:34
Copy link

@DerekBum DerekBum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small nit.

test/PhpUnitCompat.php Outdated Show resolved Hide resolved
The patch replaces `assertRegExp` with `assertMatchesRegularExpression`
because the first one is outdated.

Closes #157
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/auth-fix branch from 9e31f37 to 3ebf76b Compare June 24, 2024 18:25
The patch removes `<file>test/AssertTest.php</file>` duplicate
line from the `test/shared/phpunit.xml`.
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/auth-fix branch from 3ebf76b to 196eae7 Compare June 25, 2024 08:14
@oleg-jukovec oleg-jukovec merged commit 2d2997b into master Jun 25, 2024
@oleg-jukovec oleg-jukovec mentioned this pull request Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants