Skip to content

Commit

Permalink
fix: Change CustomSecurityManager method name (apache#43034)
Browse files Browse the repository at this point in the history
* oauth_user_info -> get_oauth_user_info
  • Loading branch information
kgw7401 authored and Lorin committed Oct 17, 2024
1 parent b477033 commit 96916fc
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 96916fc

Please sign in to comment.