Can dash_auth inputs be set to variables?

I am using BasicAuth on my app with the coce below.

My goal is to be able to set the username entered as a variable (in this case it should either print user1 or user2)

When I print auth below, it gives a memory location of the object, rather than the inputs the user provided

Is it possible to do what I am attempting?

import dash
import dash_auth
import dash_html_components as html

pairs = {'user1': 'test1', 'user2': 'test2'}

app = dash.Dash(__name__)
auth = dash_auth.BasicAuth(app, pairs)

app.layout = html.Div()

if __name__ == '__main__':

hi @dwassner
Unfortunately, that’s not possible.