Commit 9d788f8e authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Add the provider and service files (these use temp client data for now)

parent 1c554e23
<?xml version="1.0" encoding="UTF-8"?>
<service id="opendesktop-rating">
<type>opendesktop-rating</type>
<name>Opendesktop Rating</name>
<icon>get-hot-new-stuff</icon>
<provider>opendesktop</provider>
<translations>kaccounts-providers</translations>
</service>
<?xml version="1.0" encoding="UTF-8"?>
<provider id="google">
<name>OpenDesktop</name>
<description>opendesktop.org</description>
<icon>get-hot-new-stuff</icon>
<translations>kaccounts-providers</translations>
<domains>.*opendesktop\.org</domains>
<template>
<group name="auth">
<setting name="method">oauth2</setting>
<setting name="mechanism">web_server</setting>
<group name="oauth2">
<group name="web_server">
<setting name="Host">id.opendesktop.org</setting>
<setting name="AuthPath">oauth/authorize</setting>
<setting name="TokenPath">oauth/token</setting>
<setting name="RedirectUri">http://localhost/oauth2callback</setting>
<setting name="ResponseType">code</setting>
<setting type="as" name="Scope">[
'openid',
'profile',
'email'
]</setting>
<setting type="as" name="AllowedSchemes">['https']</setting>
<setting name="ClientId">rkw4TuGcEVOSNOKmhG3W</setting>
<setting name="ClientSecret">9J0AX9bOC2pNZ4lV51itAW6BnCMMDlcz</setting>
</group>
</group>
</group>
</template>
</provider>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment