GitHub user dosubot[bot] added a comment to the discussion: How Superset 
WebDriver Performs Login Authentication

<!-- Answer -->
No, in the default setup, Superset's WebDriver login authentication does not 
perform any database queries. It uses Flask-Login to create a session for the 
specified user and sets the necessary session cookies directly in the 
WebDriver, all handled in-memory or via client cookies—no database interaction 
occurs in this flow. Database queries are only involved if you use database 
authentication (AUTH_DB) for regular user logins, but the WebDriver automation 
process itself does not trigger them unless you customize the authentication 
logic to do so.  
[Source: MachineAuthProvider 
implementation](https://github.com/apache/superset/blob/86e7139245e7444e749b5e8ad1d5167b4df53ce9/superset/utils/machine_auth.py)


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/62d0081b-1fc7-4857-a29e-c8489d62e8e2?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33731)

GitHub link: 
https://github.com/apache/superset/discussions/33734#discussioncomment-13424055

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to