fastapi-keycloak icon indicating copy to clipboard operation
fastapi-keycloak copied to clipboard

required_roles param in get_current_user method. Add OR condition

Open twistfire92 opened this issue 3 years ago • 0 comments

At the moment we have not the ability to specify the presence of one of several roles. If I need check current user for role1 OR role2, I should use get_current_user without required_roles param and check this manually

twistfire92 avatar Aug 22 '22 14:08 twistfire92