diff --git a/hiboo/sso/oidc.py b/hiboo/sso/oidc.py index 2fa3242b8bb299faafe90ccfe9298ce590897668..6f6acb436fa1d21e32af4f0ebf0fca3cfbd36b61 100644 --- a/hiboo/sso/oidc.py +++ b/hiboo/sso/oidc.py @@ -112,7 +112,7 @@ class Client(sqla_oauth2.OAuth2ClientMixin): self.client_secret = service.config["client_secret"] # Configuration is stored in a format compatible with authlib metadata # so it only needs to be passed to the authorization server object - self.client_metadata = service.config + self.__dict__["client_metadata"] = service.config self.authorization = flask_oauth2.AuthorizationServer(query_client=self.query_client, save_token=self.save_token) self.authorization.generate_token = self.generate_token # Register all grant types