Skip to content

Auth

logger = logging.getLogger(__name__) module-attribute

oauth = OAuth() module-attribute

MyAuthProvider

Bases: AuthProvider

get_admin_user(request)

handle_auth_callback(request) async

is_authenticated(request) async

logout(request, response) async

render_login(request, admin) async

Override the default login behavior to implement custom logic.

setup_admin(admin)

redirect_uri(admin)