Skip to content

Commit

Permalink
[#239] Add schema and template for 'state_timeout_in_seconds'
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinFlores751 authored and korydraughn committed Jan 25, 2024
1 parent cfb0c76 commit 8da6c57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ constexpr auto default_jsonschema() -> std::string_view
"type": "integer",
"minimum": 1
}},
"state_timeout_in_seconds": {{
"type": "integer",
"minimum": 1
}},
"provider_url": {{
"type": "string"
}},
Expand All @@ -252,6 +256,7 @@ constexpr auto default_jsonschema() -> std::string_view
}},
"required": [
"timeout_in_seconds",
"state_timeout_in_seconds",
"provider_url",
"client_id",
"redirect_uri",
Expand Down Expand Up @@ -464,6 +469,7 @@ auto print_configuration_template() -> void
"openid_connect": {{
"timeout_in_seconds": 3600,
"state_timeout_in_seconds": 3600,
"provider_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
Expand Down

0 comments on commit 8da6c57

Please sign in to comment.