mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-01 02:31:46 +08:00
the client_credentials grant could never complete: the authorization insert left principal_type null, state/code/refresh columns were declared not null for a grant that never sets them, and the connection grant type silently fell back to authorization_code because builders match on the enum value, not the name - stamp the service-account principal type on the cc authorization - bind explicit nulls for grant-specific columns in insertauthorization - make state_hash, authorization_code_hash and the refresh hashes nullable in seed ddl and resync the embedded schema fingerprint