Permit multi-authentication#1303
Merged
bgrainger merged 1 commit intomysql-net:masterfrom Apr 7, 2023
rusher:multiAuthentication
Merged
Permit multi-authentication#1303bgrainger merged 1 commit intomysql-net:masterfrom rusher:multiAuthentication
bgrainger merged 1 commit intomysql-net:masterfrom
rusher:multiAuthentication
Conversation
Authentication switch request can result in 3 type of response:
* OK_Packet
* ERR_Packet
* another authentication switch request.
example with "create user mysqltest1 identified via mysql_native_password as password("good") OR unix_socket;" that might result with multiple authentication switch request.
since MariaDB 10.4.3 (https://mariadb.com/kb/en/create-user/#identified-viawith-authentication_plugin) and MySQL 8.0 (https://dev.mysql.com/doc/refman/8.0/en/create-user.html)
Signed-off-by: rusher <diego.dupin@gmail.com>
bgrainger
approved these changes
Apr 7, 2023
Member
bgrainger
left a comment
There was a problem hiding this comment.
Thanks for the improvement!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Authentication switch request can result in 3 type of responses:
Actual implementation does not permit another authentication switch request.
This can be the case when using multiple authentication, like :
Existing in: