GitHub user dosubot[bot] added a comment to the discussion: What will be the 
payload of api/v1/security/login after enabling oauth?

<!-- Answer -->
I wasn't able to find specific information about the structure of the payload 
for the `api/v1/security/login` endpoint when OAuth is enabled in Apache 
Superset. However, I can provide information on the required fields for OAuth 
authentication in general. The required fields are:

- `database_id`
- `user_id`
- `default_redirect_uri`
- `tab_id`

These fields are specified in the `OAuth2StateSchema` class 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/utils/oauth2.py)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/577deb52-9878-429f-a635-1e62f512fea0?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33034#discussioncomment-12763240

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to