Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Feb 27, 2024
1 parent 6ce8eae commit dbe3333
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions internal/.hydra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ webfinger:
auth_url: https://example.com/auth
token_url: https://example.com/token
client_registration_url: https://example.com
device_authorization_url: https://example.com/device_authorization
supported_claims:
- username
supported_scope:
Expand All @@ -100,6 +101,7 @@ urls:
consent: https://consent
logout: https://logout
error: https://error
device_verification: https://device
post_logout_redirect: https://post_logout

strategies:
Expand All @@ -112,12 +114,15 @@ ttl:
refresh_token: 2h
id_token: 2h
auth_code: 2h
device_user_code: 2h

oauth2:
expose_internal_errors: true
hashers:
bcrypt:
cost: 20
device_authorization:
token_polling_interval: 2h
pkce:
enforced: true
enforced_for_public_clients: true
Expand Down
10 changes: 5 additions & 5 deletions oauth2/oauth2_provider_mock_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dbe3333

Please sign in to comment.