Skip to content

Commit fa33161

Browse files
committed
Clarify that Okta needs DSTACK_SERVER_URL set
1 parent 66f7917 commit fa33161

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/okta.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ First you need to create a private SSO integration for `dstack` Enterprise in yo
2020
* **App integration name**: dstack Enterprise
2121
* **Grant type**: Authorization Code
2222
* **Sing-in redirect URIs**: `{DSTACK_SERVER_URL}/auth/okta/callback`, e.g. `https://enterprise-example.dstack.ai/auth/okta/callback`
23-
* **Sign-out redirect URIs**: `{DSTACK_SERVER_URL}`, e.g. `https://enterprise-example.dstack.ai/`
23+
* **Sign-out redirect URIs**: `{DSTACK_SERVER_URL}`, e.g. `https://enterprise-example.dstack.ai`
2424
* **Assignments**: Select "Allow everyone in your organization to access" if you have no other preferences.
2525

2626
## Configure Okta on the `dstack` server
@@ -29,3 +29,6 @@ To enable Okta Single Sign-On on the `dstack` server, you need to set the follow
2929
* `DSTACK_OKTA_DOMAIN` - the domain of your Okta organization, e.g. `dev-123456.okta.com`.
3030
* `DSTACK_OKTA_CLIENT_ID` - the Client ID of the `dstack` Enterprise application created in the previous step.
3131
* `DSTACK_OKTA_SECRET` - the Secret of the `dstack` Enterprise application created in the previous step.
32+
33+
Also ensure that you have the `DSTACK_SERVER_URL` set to an URL of the dstack Enterprise installation,
34+
if it's different from the default `http://localhost:3000`, e.g. `https://enterprise-example.dstack.ai`.

0 commit comments

Comments
 (0)