Skip to content
Snippets Groups Projects
Commit 87d47226 authored by kaiyou's avatar kaiyou
Browse files

Fix writing client metadata

parent 4180e387
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment