dpgaspar opened a new pull request #13212: URL: https://github.com/apache/superset/pull/13212
### SUMMARY Creates a new REST API endpoint to fetch the CSRF token from. The goal is to deprecate the old API `/superset/csrf_token` in favour of this new endpoint. Before making the old endpoint issue a deprecation log message, we need to migrate the front-end client to this new endpoint. By using this new endpoint, it's now easier to use the new API programatically by using JWT tokens to authenticate (only available to Auth DB and Auth LDAP, yet can work with other configurations by creating a username/password on the DB) ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
