Skip to content

Commit

Permalink
docs: explain skip (logout) consent (#1638)
Browse files Browse the repository at this point in the history
* docs: explain skip (logout) consent

* chore: synchronize workspaces

* fix: text bugs

---------

Co-authored-by: Vincent Kraus <[email protected]>
  • Loading branch information
aeneasr and vinckr authored Feb 12, 2024
1 parent 3e9272a commit 2736eed
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/oauth2-oidc/revoke-consent.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: revoke-consent
title: Revoke user consent
sidebar_label: Revoke consent
title: Skip user Consent
---

You can revoke user consent on a per-application basis, or for all applications to which the user granted their consent.
Expand Down
26 changes: 26 additions & 0 deletions docs/oauth2-oidc/skip-consent.mdx
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 \
# ...
```
1 change: 1 addition & 0 deletions src/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ module.exports = {
"hydra/guides/audiences",
"hydra/guides/jwt",
"oauth2-oidc/revoke-consent",
"oauth2-oidc/skip-consent",
"oauth2-oidc/oidc-logout",
"oauth2-oidc/issuer-url",
{
Expand Down

0 comments on commit 2736eed

Please sign in to comment.