mdcsaenz commented on issue #16783:
URL: https://github.com/apache/airflow/issues/16783#issuecomment-874996824


   > `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).
   
   Ah okay, I will see if that works and then close the ticket if that is the 
case. But it definitely erased the Role even with AUTH_USER_REGISTRATION_ROLE 
and AUTH_USER_REGISTRATION  are both false as well. I made AUTH_USER_ROLE False 
as well.


-- 
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