Skip to content

Commit 8f712bd

Browse files
committed
Invalidate cookie-secret
1 parent 2602c65 commit 8f712bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ WORKDIR /app
4343
# Run the web service on container startup.
4444
CMD ["panel", "serve", "panel/app.py", \
4545
"--address", "0.0.0.0", "--port", "8080", "--num-procs", "2", "--allow-websocket-origin", "*", \
46-
"--cookie-secret", "panel_cookie_secret", \
46+
"--cookie-secret", "panel_cookie_secret_oauth", \
4747
"--logout-template", "panel/logout.html", \
4848
"--oauth-provider", "google", \
4949
"--static-dirs", "_static=_static", \

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ serve-dev: ## Serve Panel dashboard - Dev mode
4141

4242
serve: ## Serve Panel dashboard - Prod mode with basic auth
4343
panel serve panel/app.py \
44-
--cookie-secret panel_cookie_secret \
44+
--cookie-secret panel_cookie_secret_oauth \
4545
--basic-login-template panel/login.html \
4646
--logout-template panel/logout.html \
4747
--static-dirs _static=docs/_static \
4848
--reuse-sessions --warm
4949

5050
serve-oauth: ## Serve Panel dashboard - Prod mode with OAuth2
5151
panel serve panel/app.py \
52-
--cookie-secret panel_cookie_secret \
52+
--cookie-secret panel_cookie_secret_oauth \
5353
--logout-template panel/logout.html \
5454
--oauth-provider google \
5555
--static-dirs _static=docs/_static \

0 commit comments

Comments
 (0)