-
-
Notifications
You must be signed in to change notification settings - Fork 959
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce fallbacks for required configs (#376)
- Loading branch information
Showing
12 changed files
with
155 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: error | ||
title: This should be the Error UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
default_return_to: http://my-app.com/dashboard | ||
``` | ||
You can set this configuration value using environment variable | ||
`URLS_DEFAULT_RETURN_TO` as well! | ||
|
||
If you don't know what that means, head over to | ||
[Self-Service Flow Completion](../concepts/selfservice-flow-completion.md)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: error | ||
title: This should be the Error UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
error_ui: http://my-app.com/error | ||
``` | ||
You can set this configuration value using environment variable `URLS_ERROR_UI` | ||
as well! | ||
|
||
If you don't know what that means, head over to | ||
[User-Facing Error](../self-service/flows/user-facing-errors.md)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: login | ||
title: This should be the Login UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
login_ui: http://my-app.com/login | ||
``` | ||
You can set this configuration value using environment variable `URLS_LOGIN_UI` | ||
as well! | ||
|
||
If you don't know what that means, head over to | ||
[User Login and Registration](../self-service/flows/user-login-user-registration.mdx)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: mfa | ||
title: This should be the Mfa UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
mfa_ui: http://my-app.com/mfa | ||
``` | ||
You can set this configuration value using environment variable `URLS_MFA_UI` as | ||
well! | ||
|
||
If you don't know what that means, head over to our | ||
[MFA Documentation](../self-service/flows/2fa-mfa-multi-factor-authentication.md)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: registration | ||
title: This should be the Registration UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
registration_ui: http://my-app.com/registration | ||
``` | ||
You can set this configuration value using environment variable | ||
`URLS_REGISTRATION_UI` as well! | ||
|
||
If you don't know what that means, head over to | ||
[User Login and Registration](../self-service/flows/user-login-user-registration.mdx)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: settings | ||
title: This should be the Settings UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
settings_ui: http://my-app.com/settings | ||
``` | ||
You can set this configuration value using environment variable | ||
`URLS_SETTINGS_UI` as well! | ||
|
||
If you don't know what that means, head over to | ||
[User Settings](../self-service/flows/user-settings-profile-management.mdx)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
id: verify | ||
title: This should be the Verify UI | ||
--- | ||
|
||
You ended up here because you did not set the following configuration value: | ||
|
||
```yaml title="path/to/kratos/config.yml | ||
urls: | ||
verify_ui: http://my-app.com/verify | ||
``` | ||
You can set this configuration value using environment variable `URLS_VERIFY_UI` | ||
as well! | ||
|
||
If you don't know what that means, head over to our | ||
[User Verification](../self-service/flows/verify-email-account-activation.mdx)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters