Skip to content

Commit

Permalink
fix: Change CustomSecurityManager method name (#43034)
Browse files Browse the repository at this point in the history
* oauth_user_info -> get_oauth_user_info
  • Loading branch information
kgw7401 authored Oct 15, 2024
1 parent 9bd1edc commit 520c443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ Here is an example of what you might have in your webserver_config.py:
class CustomSecurityManager(AirflowSecurityManager):
def oauth_user_info(self, provider, response):
def get_oauth_user_info(self, provider, response):
if provider == "keycloak":
token = response["access_token"]
me = jwt.decode(token, public_key, algorithms=["HS256", "RS256"])
Expand Down

0 comments on commit 520c443

Please sign in to comment.