Websockets don’t work with flask-based features since the app backend changes from FlaskDashServer to FastAPIDashServer (or QuartDashServer): https://github.com/plotly/dash/blob/dev/dash/backends/__init__.py#L7-L11
Because of this, dash-enterprise-auth methods like get_user_data() return an empty dict ({}) and username is None, since the library relies on flask request context and other flask features (example: https://github.com/plotly/dash-enterprise-auth/blob/main/dash_enterprise_auth/__init__.py#L157-L160)
Websockets don’t work with flask-based features since the app backend changes from FlaskDashServer to FastAPIDashServer (or QuartDashServer): https://github.com/plotly/dash/blob/dev/dash/backends/__init__.py#L7-L11
Because of this, dash-enterprise-auth methods like
get_user_data()return an empty dict ({}) and username isNone, since the library relies on flask request context and other flask features (example: https://github.com/plotly/dash-enterprise-auth/blob/main/dash_enterprise_auth/__init__.py#L157-L160)