flask-simpleldap
flask-simpleldap copied to clipboard
Dash within Flask - Pulling current user
Hello, I am using the guide from here to setup Dash within Flask to get ldap authentication. I was able to get the server to authenticate users, but I would like to know how I can pull details on the currently logged on users into a variable after authenticating. I am using the code here but modified to my environment and added to my Dash app. Is there a simple way to get the username or other ldap details for the authenticated user?