Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Configurable fallback of authenticators even if the verification of the credentials fails #134

Merged
merged 13 commits into from
Aug 1, 2022
Merged
Prev Previous commit
further docs update
dadrus committed Aug 1, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
dadrus Dimitrij Drus
commit 0073a056cd13e4a12d8c5a9bfbe504bd75f61f1c
8 changes: 4 additions & 4 deletions docs/content/docs/configuration/pipeline/authenticators.adoc
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ The password of the subject to be verified.

* *`allow_fallback_on_error`*: _boolean_ (optional, overridable)
+
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one to verify the credentials. Defaults to `false`.
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one fails to verify the credentials. Defaults to `false`.

.Configuration of Basic Auth authenticator
====
@@ -126,7 +126,7 @@ How long to cache the response. If not set, response caching if disabled. The ca

* *`allow_fallback_on_error`*: _boolean_ (optional, overridable)
+
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one to verify the credentials. Defaults to `false`.
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one fails to verify the credentials. Defaults to `false`.

.Configuration of Generic authenticator to work with session cookies
====
@@ -202,7 +202,7 @@ How long to cache the response. If not set, caching of the introspection respons

* *`allow_fallback_on_error`*: _boolean_ (optional, overridable)
+
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one to verify the credentials. Defaults to `false`.
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one fails to verify the credentials. Defaults to `false`.

.Minimal possible configuration
====
@@ -249,7 +249,7 @@ How long to cache the key from the JWKS response, which was used for signature v

* *`allow_fallback_on_error`*: _boolean_ (optional, overridable)
+
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one to verify the credentials. Defaults to `false`.
If set to `true`, allows the pipeline to fall back to the next authenticator in the pipeline if this one fails to verify the credentials. Defaults to `false`.

.Minimal possible configuration
====