/usr/share/accounts/providers/fake-oauth.provider is in uoa-integration-tests 0.1+13.10.20131003.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <?xml version="1.0" encoding="UTF-8"?>
<provider id="fake-oauth">
<name>FakeOAuth</name>
<icon>fake-oauth</icon>
<translations>account-plugins</translations>
<domains>.*example\.com</domains>
<plugin>generic-oauth</plugin>
<template>
<group name="auth">
<setting name="method">oauth2</setting>
<setting name="mechanism">user_agent</setting>
<group name="oauth2">
<group name="user_agent">
<setting name="Host">localhost:5120</setting>
<setting name="AuthPath">o/oauth2/auth</setting>
<setting name="RedirectUri">https://localhost:5120/success.html</setting>
<setting name="ResponseType">code</setting>
<setting type="as" name="Scope">['read-data','write-data']</setting>
<setting name="ClientId">niceclientid</setting>
<setting name="IgnoreSslErrors" type="b">true</setting>
</group>
</group>
</group>
</template>
</provider>
|