GitHub user stgztsw created a discussion: The issue regarding obtaining an 
Embedded Token

When requesting an Embedded Token using the following command 
curl -X POST "http://domain:8088/api/v1/security/guest_token/"; \
  -H "Content-Type: application/json" \
  -d '{
  "user": {
    "username": "[email protected]",
    "first_name": "embedded",
    "last_name": "embedded"
  },
  "resources": [
    {
      "type": "dashboard",
      "id": "10"
    }
  ],
  "rls_rules": [],
  "aud": "superset",
  "type": "guest"
}'

The response:
{"errors": [{"message": "400 Bad Request: The CSRF token is missing.", 
"error_type": "GENERIC_BACKEND_ERROR", "level": "error", "extra": 
{"issue_codes": [{"code": 1011, "message": "Issue 1011 - Superset encountered 
an unexpected error."}]}}]}


GitHub link: https://github.com/apache/superset/discussions/35670

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