You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,8 @@ to format all typescript files.
71
71
|`USER_ID`| The UUID of the user to be created on seeding. \*|`fc0dfc19-d4a3-4354-afef-b5706046b368`|
72
72
|`NO_AUTH`| If set (and not running `production` mode), clients can authenticate as any user by supplying `{'email': '[email protected]'}` in the `Auhorization` header, for any user email in the database\*\*|`NO_AUTH=true`|
73
73
|`PORT`| (optional) The port the server should listen on. |`3002` (default) |
74
-
|`FRONTEND_URL`| The URL of the frontend. |`http://localhost:3000`|
74
+
|`ALLOWED_ORIGINS`| A comma-separated list of origins allowed to access the api. E.g. teaching-dev.gbsl.website |`localhost:3000`|
75
+
|`ALLOW_SUBDOMAINS`| Wheter subdomains from `ALLOWED_DOMAINS` should be granted access too. |`false`|
75
76
|`SESSION_SECRET`| The secret for the session cookie.\*\*\*|`secret`|
76
77
|`MSAL_CLIENT_ID`| The client id for the web api from Azure. ||
77
78
|`MSAL_TENANT_ID`| The Tenant ID from your Azure instance ||
0 commit comments