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

Support authentication using a token/JWT #38504

Closed
2 tasks done
CbcWestwolf opened this issue Oct 17, 2022 · 1 comment · Fixed by #38773
Closed
2 tasks done

Support authentication using a token/JWT #38504

CbcWestwolf opened this issue Oct 17, 2022 · 1 comment · Fixed by #38773
Assignees
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@CbcWestwolf
Copy link
Member

CbcWestwolf commented Oct 17, 2022

Token-based authentication is a passwordless way of connecting to a DB. Nowadays TiDB supports tidb_session_token to conveniently transfer connections with TiProxy, but lacks a way for users to connect safely without a password. A new authentication plugin (maybe named tidb_auth_token can be implemented in concert with mysql_clear_password on client-side.

  1. Create User using tidb_auth_token *: create a user using tidb_auth_token authentication #38585
  2. Authenticate User using tidb_auth_token *: authentication using tidb_auth_token plugin #38773
@CbcWestwolf CbcWestwolf added the type/feature-request Categorizes issue or PR as related to a new feature. label Oct 17, 2022
@CbcWestwolf
Copy link
Member Author

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant