Here is how the username and password are parsed from the original Authorization header: https://github.com/plotly/dash-auth/blob/6a03928b346e52494841c72b95de9a1f627888dc/dash_auth/basic_auth.py#L12-L17
You might be able to use this logic inside your callback, although I haven’t tried this.
1 Like