mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
8f88817c00
See:1b088fade6
Prevent automatic OAuth grants for public clients07fe5a8b13
use existing oauth grant for public client (cherry picked from commit592469464b
)
20 lines
723 B
YAML
20 lines
723 B
YAML
-
|
|
id: 1
|
|
uid: 1
|
|
name: "Test"
|
|
client_id: "da7da3ba-9a13-4167-856f-3899de0b0138"
|
|
client_secret: "$2a$10$UYRgUSgekzBp6hYe8pAdc.cgB4Gn06QRKsORUnIYTYQADs.YR/uvi" # bcrypt of "4MK8Na6R55smdCY0WuCCumZ6hjRPnGY5saWVRHHjJiA=
|
|
redirect_uris: '["a", "https://example.com/xyzzy"]'
|
|
created_unix: 1546869730
|
|
updated_unix: 1546869730
|
|
confidential_client: true
|
|
-
|
|
id: 2
|
|
uid: 2
|
|
name: "Test native app"
|
|
client_id: "ce5a1322-42a7-11ed-b878-0242ac120002"
|
|
client_secret: "$2a$10$UYRgUSgekzBp6hYe8pAdc.cgB4Gn06QRKsORUnIYTYQADs.YR/uvi" # bcrypt of "4MK8Na6R55smdCY0WuCCumZ6hjRPnGY5saWVRHHjJiA=
|
|
redirect_uris: '["b", "http://127.0.0.1"]'
|
|
created_unix: 1546869730
|
|
updated_unix: 1546869730
|
|
confidential_client: false
|