jedcunningham edited a comment on issue #16783:
URL: https://github.com/apache/airflow/issues/16783#issuecomment-873291945


   `AUTH_USER_REGISTRATION_ROLE` only applies if `AUTH_USER_REGISTRATION` is 
true.
   
   Looks like the FAB google oauth provider doesn't support `AUTH_ROLE_MAPPING` 
by default:
   
https://github.com/dpgaspar/Flask-AppBuilder/blob/95947e84e04a999a474dfe8620fb0f36d71f0467/flask_appbuilder/security/manager.py#L585-L590
   
   You'd need a custom security manager to return `role_keys`, for example like 
is done in the OP of #14829.
   (I'm sure FAB would love to have support for this with the google oauth 
provider, so consider contributing it back if you get it working).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to