villebro edited a comment on issue #18785: URL: https://github.com/apache/superset/issues/18785#issuecomment-1047637465
Did you migrate the `SECRET_KEY` as instructed in `UPDATING.md` as per #17984? > Default Flask SECRET_KEY has changed for security reasons. You should always override with your own secret. Set PREVIOUS_SECRET_KEY (ex: `PREVIOUS_SECRET_KEY = "\2\1thisismyscretkey\1\2\e\y\y\h"`) with your previous key and use superset re-encrypt-secrets to rotate you current secrets In other words, adding this to your `superset_config.py` (the `PREVIOUS_SECRET_KEY` really is a literal string, _not_ an example!): ```python PREVIOUS_SECRET_KEY = "\2\1thisismyscretkey\1\2\e\y\y\h" SECRET_KEY = "<my new secret key>" ``` and then running `superset re-encrypt-secrets`? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
