From e077396d0866a944271f0c9200be39576675ab5a Mon Sep 17 00:00:00 2001 From: Mathias M Date: Sat, 27 Feb 2021 02:40:43 +0100 Subject: [PATCH] Gitlab.ini added --- upload/inc/plugins/isango/gitlab.ini | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 upload/inc/plugins/isango/gitlab.ini diff --git a/upload/inc/plugins/isango/gitlab.ini b/upload/inc/plugins/isango/gitlab.ini new file mode 100644 index 0000000..2cc10c0 --- /dev/null +++ b/upload/inc/plugins/isango/gitlab.ini @@ -0,0 +1,15 @@ +[auth] +url = "https://gitlab.com/oauth/authorize" +params[scope] = "read_user" + +[token] +url = "https://gitlab.com/oauth/token" + +[api] +url = "https://gitlab.com/api/v4/user" + +[info] +id = "{$u['id']}" +name = "{$u['username']}" +email = "{$u['email']}" +avatar = "{$u['avatar_url']}" \ No newline at end of file