Skip to content

Commit 06929cc

Browse files
authored
Merge pull request #50 from gstorme/docs
update redirect_uris for external mfa
2 parents 2d067ec + e316c04 commit 06929cc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

admin-and-features/external-openid-providers/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ In almost any provider's configuration you will need to define a set of allowed
4545

4646
* `<DEFGUARD_DASHBOARD_URL>/auth/callback`
4747
* `<DEFGUARD_ENROLLMENT_URL>/openid/callback`
48+
* `<DEFGUARD_ENROLLMENT_URL>/openid/mfa/callback`
4849

4950
For example, if your Defguard main dashboard is accessible at `https://defguard.my-domain.net` and your users perform the enrollment through a proxy accessible at `https://enrollment.my-domain.net` you would need to enter the following URIs:
5051

5152
* `https://defguard.my-domain.net/auth/callback`
5253
* `https://enrollment.my-domain.net/openid/callback`
54+
* `https://enrollment.my-domain.net/openid/mfa/callback`
5355

5456
These URIs will need to be provided in your provider's configuration. See [#examples](./#examples "mention") to learn more.
5557

admin-and-features/external-openid-providers/okta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<figure><img src="../../.gitbook/assets/image-2.png" alt=""><figcaption></figcaption></figure>
1010

11-
3. On the next page, configure the application. Make sure to set the correct Sign-in URIs, those will take the form of `<DEFGUARD_DASHBOARD_URL>/auth/callback` (dashboard login) and `<DEFGUARD_ENROLLMENT_URL>/openid/callback` (if you want to perform new user enrollment using Okta). Replace `<DEFGUARD_DASHBOARD_URL>` and `<DEFGUARD_ENROLLMENT_URL>` with the URLs of your Defguard dashboard and enrollment page (proxy) accordingly. If you access your Defguard dashboard at e.g. `https://defguard.example.net` your redirect URI will be `https://defguard.example.net/auth/callback`.
11+
3. On the next page, configure the application. Make sure to set the correct Sign-in URIs, those will take the form of `<DEFGUARD_DASHBOARD_URL>/auth/callback` (dashboard login) and `<DEFGUARD_ENROLLMENT_URL>/openid/callback` (if you want to perform new user enrollment using Okta). Replace `<DEFGUARD_DASHBOARD_URL>` and `<DEFGUARD_ENROLLMENT_URL>` with the URLs of your Defguard dashboard and enrollment page (proxy) accordingly. If you access your Defguard dashboard at e.g. `https://defguard.example.net` your redirect URI will be `https://defguard.example.net/auth/callback`. If you want to use Okta as the MFA provider, also add `<DEFGUARD_ENROLLMENT_URL>/openid/mfa/callback` to the redirect URIs.
1212

1313
<figure><img src="../../.gitbook/assets/image-6.png" alt=""><figcaption></figcaption></figure>
1414

0 commit comments

Comments
 (0)