Changeset View
Changeset View
Standalone View
Standalone View
attica-kde/kdeplugin/opendesktop.provider.in
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <provider id="opendesktop"> | ||||
3 | <_name>OpenDesktop</_name> | ||||
4 | <_description>Vote on content and create reviews and comments on OpenDesktop.Org</_description> | ||||
5 | <icon>get-hot-new-stuff</icon> | ||||
6 | <translations>kaccounts-providers</translations> | ||||
7 | <domains>.*opendesktop\.org</domains> | ||||
8 | | ||||
9 | <template> | ||||
10 | <group name="auth"> | ||||
11 | <setting name="method">oauth2</setting> | ||||
12 | <setting name="mechanism">web_server</setting> | ||||
13 | <group name="oauth2"> | ||||
14 | <group name="web_server"> | ||||
15 | <setting name="Host">id.opendesktop.org</setting> | ||||
16 | <setting name="AuthPath">oauth/authorize</setting> | ||||
17 | <setting name="TokenPath">oauth/token</setting> | ||||
18 | <setting name="RedirectUri">http://localhost/oauth2callback</setting> | ||||
19 | <setting name="ResponseType">code</setting> | ||||
20 | <setting type="as" name="Scope">[ | ||||
21 | 'openid', | ||||
22 | 'profile', | ||||
23 | 'email' | ||||
24 | ]</setting> | ||||
25 | <setting type="as" name="AllowedSchemes">['https']</setting> | ||||
26 | <setting name="ClientId">rkw4TuGcEVOSNOKmhG3W</setting> | ||||
27 | <setting name="ClientSecret">9J0AX9bOC2pNZ4lV51itAW6BnCMMDlcz</setting> | ||||
28 | </group> | ||||
29 | </group> | ||||
30 | </group> | ||||
31 | </template> | ||||
32 | </provider> |