#9859·databend

Feature: Support OIDC auth type for users

Author: flaneur2020Created Feb 2, 2023Updated Sep 20, 2026

Summary

Sometimes we need some manage users to do some manage work like scheduling OPTIMIZE TABLE tasks.

However currently we need a fixed password for the manage users, there might have security concerns about leaking the password.

With authenticate with OIDC, we can authenticate the manage user by its short-lived OIDC token.

Like this:

CREATE USER miao IDENTIFIED WITH OIDC BY "<myoidcprovider>";

On authenticating the user, one may pass the oidc token as the password field.