You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
Implement the client credentials grant
This commit is contained in:
@@ -13,4 +13,9 @@
|
||||
-- limitations under the License.
|
||||
|
||||
-- This makes the user_id in the oauth2_sessions nullable, which allows us to create user-less sessions
|
||||
ALTER TABLE oauth2_sessions ALTER COLUMN user_id DROP NOT NULL;
|
||||
ALTER TABLE oauth2_sessions
|
||||
ALTER COLUMN user_id DROP NOT NULL;
|
||||
|
||||
-- This adds a column to the oauth2_clients to allow them to use the client_credentials flow
|
||||
ALTER TABLE oauth2_clients
|
||||
ADD COLUMN grant_type_client_credentials boolean NOT NULL DEFAULT false;
|
Reference in New Issue
Block a user