diff options
author | M Hickford <mirth.hickford@gmail.com> | 2022-10-12 05:22:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 12:22:43 +0800 |
commit | e84558b0931309cf1f4f2767bc47296483b9b3e1 (patch) | |
tree | c879e09d5736350ef621943aae019e17819901dc /models | |
parent | 9862936ed3f488896adb6ddc29eb25ef15185c41 (diff) | |
download | gitea-e84558b0931309cf1f4f2767bc47296483b9b3e1.tar.gz gitea-e84558b0931309cf1f4f2767bc47296483b9b3e1.zip |
Improve OAuth integration tests (#21390)
In particular, test explicit error responses.
No change to behaviour.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'models')
-rw-r--r-- | models/fixtures/oauth2_application.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/fixtures/oauth2_application.yml b/models/fixtures/oauth2_application.yml index a13e20b10e..34d5a88777 100644 --- a/models/fixtures/oauth2_application.yml +++ b/models/fixtures/oauth2_application.yml @@ -4,6 +4,6 @@ name: "Test" client_id: "da7da3ba-9a13-4167-856f-3899de0b0138" client_secret: "$2a$10$UYRgUSgekzBp6hYe8pAdc.cgB4Gn06QRKsORUnIYTYQADs.YR/uvi" # bcrypt of "4MK8Na6R55smdCY0WuCCumZ6hjRPnGY5saWVRHHjJiA= - redirect_uris: '["a"]' + redirect_uris: '["a", "https://example.com/xyzzy"]' created_unix: 1546869730 updated_unix: 1546869730 |