MySQL Shell 9.2

4.3.6 Using OpenID Connect

MySQL Shell supports the OpenID Connect authentication protocol. The plugin, authentication_openid_connect_client, is bundled with MySQL Shell .

For information on OpenID Connect, see openid.net.

Note

OpenID Connect authentication protocol is supported by MySQL Enterprise Edition, only.

To connect to a server using OpenID Connect, you must have an OpenID token file and an OpenID user on the target server.

The user must be defined with the authentication_openid_connect plugin. For example:

CREATE USER 'MySQLUser'@'%' IDENTIFIED WITH 'authentication_openid_connect' 
AS '{"identity_provider":"IdentityProviderName", "user":"UserID"}';
      

The token file must contain the following:

See linkToRefman for more information.

Connect using one of the following methods: