summaryrefslogtreecommitdiffstats
path: root/models/fixtures/oauth2_application.yml
diff options
context:
space:
mode:
authorJonas Franz <info@jonasfranz.software>2019-03-08 17:42:50 +0100
committertechknowlogick <matti@mdranta.net>2019-03-08 11:42:50 -0500
commite777c6bdc6f12f9152335f8bfd66b956aedc9957 (patch)
treeb79c9bc2d4f9402dcd15d993b088840e2fad8a54 /models/fixtures/oauth2_application.yml
parent9d3732dfd512273992855097bba1e909f098db23 (diff)
downloadgitea-e777c6bdc6f12f9152335f8bfd66b956aedc9957.tar.gz
gitea-e777c6bdc6f12f9152335f8bfd66b956aedc9957.zip
Integrate OAuth2 Provider (#5378)
Diffstat (limited to 'models/fixtures/oauth2_application.yml')
-rw-r--r--models/fixtures/oauth2_application.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/models/fixtures/oauth2_application.yml b/models/fixtures/oauth2_application.yml
new file mode 100644
index 0000000000..a13e20b10e
--- /dev/null
+++ b/models/fixtures/oauth2_application.yml
@@ -0,0 +1,9 @@
+-
+ 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"]'
+ created_unix: 1546869730
+ updated_unix: 1546869730