From 87d4722652327ff602c0c0456bc84c9b39840fbe Mon Sep 17 00:00:00 2001 From: kaiyou <dev@kaiyou.fr> Date: Thu, 29 Jul 2021 19:37:20 +0200 Subject: [PATCH] Fix writing client metadata --- hiboo/sso/oidc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiboo/sso/oidc.py b/hiboo/sso/oidc.py index 2fa3242..6f6acb4 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 -- GitLab