All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db.openidconnect.mysql.messaging-client.sql Maven / Gradle / Ivy

The newest version!
SET AUTOCOMMIT = 0;

START TRANSACTION;

# reference messaging client
INSERT INTO client_details (client_id, client_name, jwks_uri, token_endpoint_auth_method, access_token_validity_seconds) VALUES
	('messaging_client', 'Reference Messaging', 'https://auth.hspconsortium.org/jwk', 'PRIVATE_KEY', 86400);

INSERT INTO client_scope (owner_id, scope) VALUES
	((SELECT id from client_details where client_id = 'messaging_client'), 'system/*.read'),
	((SELECT id from client_details where client_id = 'messaging_client'), 'system/*.write'),
	((SELECT id from client_details where client_id = 'messaging_client'), 'offline_access');

INSERT INTO client_grant_type (owner_id, grant_type) VALUES
	((SELECT id from client_details where client_id = 'messaging_client'), 'client_credentials'),
	((SELECT id from client_details where client_id = 'messaging_client'), 'refresh_token');

COMMIT;

SET AUTOCOMMIT = 1;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy