|
2 | 2 | # For NEXTAUTH_SECRET, use: `openssl rand -base64 32` |
3 | 3 | # For OIDC_CLIENT_SECRET, use `openssl rand -hex 32` |
4 | 4 | # Note: Changing a secret may invalidate existing sessions and/or verification tokens |
| 5 | +# Other keys/tokens can be found at Azure devops libaray, under "development". Keys have prefix `UI_` |
5 | 6 | # ----------------------- |
6 | 7 |
|
7 | | -NEXT_PUBLIC_BASE_URL= |
8 | | -TILAVARAUS_API_URL= |
9 | | -NEXTAUTH_URL= |
| 8 | +NEXT_PUBLIC_BASE_URL=https://local-tilavaraus.hel.fi:3000 |
| 9 | +TILAVARAUS_API_URL=http://localhost:8000 |
| 10 | +NEXTAUTH_URL=https://local-tilavaraus.hel.fi:3000/api/auth |
10 | 11 | NEXTAUTH_SECRET= |
11 | | -NEXT_ENV= |
| 12 | +NEXT_ENV=development |
12 | 13 |
|
13 | | -DISABLE_AUTH= |
14 | | -NEXT_PUBLIC_MOCK_REQUESTS= |
| 14 | +DISABLE_AUTH=false |
| 15 | +NEXT_PUBLIC_MOCK_REQUESTS=false |
15 | 16 | NEXT_PUBLIC_MAPBOX_TOKEN= |
16 | 17 | NEXT_PUBLIC_SENTRY_DSN= |
17 | 18 | SENTRY_AUTH_TOKEN= |
18 | | -NEXT_PUBLIC_ENABLE_MATOMO= |
19 | | -TZ= |
| 19 | +NEXT_PUBLIC_ENABLE_MATOMO=false |
20 | 20 |
|
21 | | -OIDC_CLIENT_ID= |
| 21 | +OIDC_CLIENT_ID=tilavaraus-ui-dev |
22 | 22 | OIDC_CLIENT_SECRET= |
23 | | -OIDC_URL= |
24 | | -OIDC_TOKEN_URL= |
25 | | -OIDC_ACCESS_TOKEN_URL= |
26 | | -OIDC_TILAVARAUS_API_SCOPE= |
27 | | -OIDC_PROFILE_API_SCOPE= |
28 | | -OIDC_SCOPE= |
29 | | -OIDC_CALLBACK_URL= |
30 | | -NEXT_PUBLIC_OIDC_END_SESSION= |
| 23 | +OIDC_URL=https://tunnistamo.test.hel.ninja/openid |
| 24 | +OIDC_TOKEN_URL=https://tunnistamo.test.hel.ninja/openid/token |
| 25 | +OIDC_ACCESS_TOKEN_URL=https://tunnistamo.test.hel.ninja/api-tokens/ |
| 26 | +OIDC_TILAVARAUS_API_SCOPE=https://api.hel.fi/auth/tilavarausapidev |
| 27 | +OIDC_PROFILE_API_SCOPE=https://api.hel.fi/auth/helsinkiprofile |
| 28 | +OIDC_SCOPE=openid profile https://api.hel.fi/auth/helsinkiprofile https://api.hel.fi/auth/tilavarausapidev |
| 29 | +OIDC_CALLBACK_URL=https://local-tilavaraus.hel.fi:3000/api/auth/callback/ |
| 30 | +NEXT_PUBLIC_OIDC_END_SESSION=https://tunnistamo.test.hel.ninja/openid/end-session |
0 commit comments