Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jhub/11-create-secrets.nu
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ source ./env.nu
touch $env.jupyterhub.secrets
open $env.jupyterhub.secrets
| try {from yaml} catch { {} } # If file empty, initialize empty record
| upsert hub.cookieSecret (random binary 32 | encode hex | str downcase)
| upsert proxy.secretToken (random binary 32 | encode hex | str downcase)
| upsert hub.cookieSecret (random binary 32 | encode hex | str lowercase)
| upsert proxy.secretToken (random binary 32 | encode hex | str lowercase)
| save -f $env.jupyterhub.secrets

# Add Oauth callback URL in authentication.yaml
Expand Down
Loading