-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: explain skip (logout) consent (#1638)
* docs: explain skip (logout) consent * chore: synchronize workspaces * fix: text bugs --------- Co-authored-by: Vincent Kraus <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
id: skip-consent | ||
title: Skip consent and logout consent | ||
sidebar_label: Skip consent | ||
--- | ||
|
||
In first-party scenarios, you may want to skip the consent screen and automatically grant consent to the client. This can be done | ||
by setting the `require_consent` property to `false` on the client configuration. | ||
|
||
```shell | ||
ory create oauth2-client \ | ||
--skip-consent \ | ||
# ... | ||
``` | ||
|
||
## Skip logout consent | ||
|
||
The logout consent screen requires the user to confirm that they indeed wish to log out. This is useful for preventing third-party | ||
applications from logging out the user without their consent. However, in some cases, you may want to skip this screen. This can | ||
be done by setting the `require_logout_consent` property to `false` on the client configuration: | ||
|
||
```shell | ||
ory create oauth2-client \ | ||
--skip-logout-consent \ | ||
# ... | ||
``` |
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