jerqi commented on issue #6402:
URL: https://github.com/apache/gravitino/issues/6402#issuecomment-2642070972

   This authorization server is only used for examples. It's not for the 
production environment.  You can see the authorization-server Docker 
https://github.com/apache/gravitino/commit/f8b42870ab33cf80b3a5e8906114e4de4fdcec5c#diff-1dc3ec8f6d185763c073db64dcb6d17c34779d6d1de21d8aa88e7701812a81ca
 
   
   ```
   INSERT INTO oauth2_registered_client 
(id,client_id,client_secret,client_name, client_authentication_methods, 
authorization_grant_types, redirect_uris, scopes, client_settings, 
token_settings)
   VALUES ('1','test','{noop}test','test','client_secret_post', 
'client_credentials', 'www.baidu.com', 'test', 
'{"@class":"java.util.Collections$UnmodifiableMap","settings.client.require-proof-key":false,"settings.client.require-authorization-consent":false}',
 
'{"@class":"java.util.Collections$UnmodifiableMap","settings.token.reuse-refresh-tokens":true,"settings.token.id-token-signature-algorithm":["org.springframework.security.oauth2.jose.jws.SignatureAlgorithm","RS256"],"settings.token.access-token-time-to-live":["java.time.Duration",300.000000000],"settings.token.access-token-format":{"@class":"org.springframework.security.oauth2.server.authorization.settings.OAuth2TokenFormat","value":"self-contained"},"settings.token.refresh-token-time-to-live":["java.time.Duration",3600.000000000],"settings.token.authorization-code-time-to-live":["java.time.Duration",300.000000000]}');
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to