GitHub user dosubot[bot] added a comment to the discussion: How to obtain 
guest_token for embedded-sdk after integrating Azure OAUTH?

<!-- Answer -->
To obtain a `guest_token` for the embedded-sdk after integrating Azure OAUTH, 
you need to use the `create_guest_access_token` method. This method is part of 
the `SupersetSecurityManager` and is responsible for creating a guest access 
token by taking user information, resources, and row-level security (RLS) 
clauses. The token is verified using the configured secret, algorithm, and 
audience 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/security/manager.py)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/tests/integration_tests/security_tests.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/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/1e0e1f98-9947-48de-aa86-7aac478f32be?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33052#discussioncomment-12776942

----
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