flask-simpleldap icon indicating copy to clipboard operation
flask-simpleldap copied to clipboard

Dash within Flask - Pulling current user

Open profcedar opened this issue 3 years ago • 0 comments

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?

profcedar avatar Oct 12 '22 22:10 profcedar