Skip to content

Commit

Permalink
feat: update default principal token parser error configuration (#222)
Browse files Browse the repository at this point in the history
* feat: update principal token parse configuration

* feat: update principal token parse configuration
  • Loading branch information
andrejpetras authored Oct 13, 2024
1 parent 751573a commit f671e81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/modules/tkit-quarkus/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:project-version: 2.34.0
:project-version: 2.35.0
:quarkus-version: 3.15.1

:examples-dir: ./../examples/
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Environment variable: `+++TKIT_RS_CONTEXT_TOKEN_PARSER_ERROR_UNAUTHORIZED+++`
endif::add-copy-button-to-env-var[]
--
|boolean
|`true`
|`false`

a| [[tkit-quarkus-rest-context_tkit-rs-context-token-required-error-unauthorized]] [.property-path]##link:#tkit-quarkus-rest-context_tkit-rs-context-token-required-error-unauthorized[`tkit.rs.context.token.required-error-unauthorized`]##

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ interface TokenConfig {
* Throw Unauthorized exception for any parser error. Return StatusCode 401.
*/
@WithName("parser-error-unauthorized")
@WithDefault("true")
@WithDefault("false")
boolean parserErrorUnauthorized();

/**
Expand Down

0 comments on commit f671e81

Please sign in to comment.