AppSuite:OAuth 2 0 Provider Operator Guide: Difference between revisions

From Open-Xchange
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
= Open-Xchange OAuth 2.0 Provider Operator Guide =
= Open-Xchange OAuth 2.0 Provider Operator Guide =


With OX App Suite v7.8.0 a service provider can decide to publish a certain subset of the OX HTTP API via OAuth 2.0. See the [[AppSuite:OAuth_2_0_Client_Developer_Guide|developer guide]] for an overview of the available APIs. The feature as a whole is contained in separate optional packages and requires some configuration. Supported client applications must be of type <code>confidential</code> according to the <code>web application</code> profile defined in [http://tools.ietf.org/html/rfc6749 RFC 6749]. Every application must be registered at the OX backend. The registration process is up to you, while the backend provides SOAP and RMI interfaces to persist those registrations and generates the client-specific credentials that are needed to gain access for granting users.
The content on this page has moved to https://documentation.open-xchange.com/7.10.2/middleware/login_and_sessions/oauth_2.0_provider.html.


== Installation and Configuration ==
Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.
 
The OAuth provider feature is separated into two packages <code>open-xchange-oauth-provider</code> and <code>open-xchange-admin-oauth-provider</code>. The former one needs to be installed on every groupware node, the latter one provides the client provisioning interfaces and may be installed on your dedicated provisioning nodes. On a Debian setup you would install those packages like so:
 
<pre>$ apt-get install open-xchange-oauth-provider open-xchange-admin-oauth-provider</pre>
 
Configuration takes place in <code>/opt/open-xchange/etc/oauth-provider.properties</code>. There you must enable the feature and provide an encryption key. The encryption key is used to encrypt the credentials of client applications within the database. You MUST set a value here and this value must be the same on all groupware and provisioning nodes. Example:
 
<pre># Set to 'true' to basically enable the OAuth 2.0 provider. This setting can then be overridden
# via config cascade to disallow granting access for certain users. If the provider is enabled,
# an encryption key (see below) must be set!
#
# Default: false
com.openexchange.oauth.provider.enabled=true
 
# Specify how authorization codes shall be stored, to enable OAuth in multi-node environments.
# Options are Hazelcast ('hz') or database ('db').
#
# Default: hz
com.openexchange.oauth.provider.authcode.type=hz
 
# The key to encrypt client secrets that are stored within the database.
# A value must be set to enable the registration of OAuth 2.0 client
# applications. It must be the same on every node. After the first client
# has been registered, the key must not be changed anymore.
# Default: &lt;empty&gt;
com.openexchange.oauth.provider.encryptionKey=yen8oT0vohNgoo9mohfai3aitho6eaQu7cieFohsoamooS3IeJeukoov4niechoh</pre>
You may to decide how authorization codes are stored. Those codes are short-living one-time tokens that are generated when a user grants access. The client application will then exchange this code for a pair of access and refresh tokens. We store those codes in the hazelcast data grid per default. However you can choose to store them within the database. If using hazelcast, you can also adjust the parameters for the according distributed data structure in <code>/opt/open-xchange/etc/hazelcast/authcode.properties</code>.
 
== Client Provisioning ==
 
For every client application that you want to allow to access the OAuth APIs you need to persist some data. During the registration call a client ID and a secret are generated, which must be provided to the client developers.
 
'''Important:''' A client does always belong to a context group and is stored within the global DB. It can therefore only handle users of the according contexts. As a result you need to pass a context group name to some of the provisioning calls unless a client ID is required. After registering a client, the context group identifier is encoded within the client ID.
 
The registration data consists of the following parameters:
 
<table>
 
    <tr>
      <th>Parameter</th>
      <th>Description</th>
      <th>Required</th>
    </tr>
 
 
    <tr>
      <td>name</td>
      <td>The name of the client application. Will be visible to your users.</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>description</td>
      <td>A description of the client application. Will be visible to your users. Translations of the description are currently not supported, you must decide for one language.</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>contact address</td>
      <td>E-Mail address to contact the application vendor.</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>website</td>
      <td>An URL to the client applications website.</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>default scope</td>
      <td>A default scope that will be applied if the client application asks a user for access without providing a certain scope during the request. See the developer guide for available scope tokens. The scope is always a space-delimited string cosisting of one or more scope tokens, e.g. "read_contacts write_contacts".</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>icon</td>
      <td>An icon of the client application. Supported image types are <code>image/png</code>, <code>image/jpg</code> and <code>image/jpeg</code>. Icons SHOULD be of size 128x128 px, otherwise they might not get displayed correctly. The max. image size is 256kb.</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>redirect URIs</td>
      <td>One or more URIs that will be used as redirect locations to deliver authorization codes or error messages back to the client application. Every URI must be absolute and not contain a fragment. The scheme must always be <code>https</code>, however for development purposes redirect URIs pointing to <code>localhost</code>, <code>127.0.0.1</code> or <code>[::1]</code> are also allowed with <code>http</code> as scheme.</td>
      <td>Yes</td>
    </tr>
 
</table>
== RMI Provisioning ==
 
To use RMI as provisioning mechanism you need to link your code against the correct API classes. You'll find the according JAR files on your provisioning node. Navigate to <code>/opt/open-xchange/libs</code> and fetch <code>com.openexchange.admin.rmi.jar</code> and <code>com.openexchange.oauth.provider.rmi.jar</code>. Note that both files are symlinks. Besides the JARs you'll find the according JavaDoc in <code>/usr/share/doc/open-xchange-admin/javadoc</code> and <code>/usr/share/doc/open-xchange-oauth-provider/javadoc</code>. After adding both JARs to your classpath you can start development. The remote interface is <code>com.openexchange.oauth.provider.rmi.RemoteClientManagement</code>. Below you find an example of all operations that manipulate client data. Of course there are also methods to list and get all or certain registered clients.
 
<pre>package me.coolhosting.ox.oauth;
 
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;
import com.openexchange.admin.rmi.dataobjects.Credentials;
import com.openexchange.admin.rmi.exceptions.InvalidCredentialsException;
import com.openexchange.oauth.provider.rmi.client.ClientDto;
import com.openexchange.oauth.provider.rmi.client.ClientDataDto;
import com.openexchange.oauth.provider.rmi.client.RemoteClientManagementException;
import com.openexchange.oauth.provider.rmi.client.IconDto;
import com.openexchange.oauth.provider.rmi.client.RemoteClientManagement;
 
public class ClientProvisioningRoundtrip {
 
  public static void main(String[] args) {
    try {
      // Lookup remote
      RemoteClientManagement clientManagement =
        (RemoteClientManagement) Naming.lookup(
          &quot;rmi://coolhosting.me:1099/&quot; + RemoteClientManagement.RMI_NAME);
 
      // All method calls require the master credentials.
      Credentials credentials = new Credentials(&quot;oxadminmaster&quot;, &quot;secret&quot;);
 
      ClientDataDto clientData = prepareClientData();
      ClientDto client = clientManagement.registerClient(
        RemoteClientManagement.DEFAULT_GID, // use default context group
        clientData,
        credentials);
 
      System.out.println(&quot;Client '&quot; + client.getName() + &quot;' was successfully &quot; +
        &quot;registered: [ID: &quot; + client.getId() + &quot;, secret: &quot; + client.getSecret() + &quot;]&quot;);
 
      // You can disable clients temporarily. API access is then prohibited.
      if (clientManagement.disableClient(client.getId(), credentials)) {
        System.out.println(&quot;Client '&quot; + client.getName() + &quot;' was disabled&quot;);
      }
 
      // Of course enabling disabled clients is also possible.
      if (clientManagement.enableClient(client.getId(), credentials)) {
        System.out.println(&quot;Client '&quot; + client.getName() + &quot;' was enabled again&quot;);
      }
 
      // You can revoke a clients secret. For security reasons all existing grants
      // are invalidated then.
      client = clientManagement.revokeClientSecret(client.getId(), credentials);
      System.out.println(&quot;Client '&quot; + client.getName() + &quot;' was assigned a new &quot; +
        &quot;secret: &quot; + client.getSecret());
 
      // Of course you can update the client data. Every field set within ClientData
      // will be overridden. Fields that are not set will not be modified. Scope and
      // redirect URIs must always be submitted in total, no merging will be applied
      // here.
      clientData = new ClientDataDto();
      clientData.setDescription(&quot;A new and fancy client description.&quot;);
      client = clientManagement.updateClient(client.getId(), clientData, credentials);
      System.out.println(&quot;Client '&quot; + client.getName() +
        &quot;' got a new description: &quot; + client.getDescription());
 
      // You can unregister clients completely and withdraw their granted accesses.
      if (clientManagement.unregisterClient(client.getId(), credentials)) {
        System.out.println(&quot;Client '&quot; + client.getName() +
          &quot;' was successfully unregistered&quot;);
      }
    } catch (MalformedURLException | RemoteException | NotBoundException |
            RemoteClientManagementException | InvalidCredentialsException |
            FileNotFoundException e) {
 
        e.printStackTrace();
    }
  }
 
  private static ClientDataDto prepareClientData() throws FileNotFoundException {
    IconDto icon = new IconDto();
    icon.setData(loadIcon()); // the icon serialized as an array of bytes
    icon.setMimeType(&quot;image/png&quot;);
 
    List&lt;String&gt; redirectURIs = new ArrayList&lt;&gt;(2);
    redirectURIs.add(&quot;http://localhost/oauth/callback&quot;); // URI for local testing
    redirectURIs.add(&quot;https://example.com/api/oauth/callback&quot;); // production URI
 
    ClientDataDto clientData = new ClientDataDto();
    clientData.setName(&quot;Example.com&quot;);
    clientData.setDescription(&quot;The Example.com web apps description.&quot;);
    clientData.setIcon(icon);
    clientData.setContactAddress(&quot;support@example.com&quot;);
    clientData.setWebsite(&quot;http://www.example.com&quot;);
    clientData.setDefaultScope(&quot;read_contacts write_contacts&quot;);
    clientData.setRedirectURIs(redirectURIs);
    return clientData;
  }
 
  private static byte[] loadIcon() throws FileNotFoundException {
    byte[] iconBytes = null;
    // TODO: change this path accordingly
    try (FileInputStream fis = new FileInputStream(&quot;/path/to/icon.png&quot;)) {
      byte[] buf = new byte[4096];
      int len = fis.read(buf);
      ByteArrayOutputStream baos = new ByteArrayOutputStream();
      do {
        baos.write(buf, 0, len);
        len = fis.read(buf);
      } while (len &gt;= 0);
 
      iconBytes = baos.toByteArray();
    } catch (IOException e) {
      // closing the input stream failed - ignore...
    }
 
    return iconBytes;
  }
 
}</pre>
 
=== SOAP Provisioning ===
 
Besides RMI all provisioning calls are also available via [http://oxpedia.org/wiki/index.php?title=Open-Xchange_Provisioning_using_SOAP SOAP]. After everything orderly set up you can obtain the according WSDL via <code>https://ox-prov.coolhosting.me/webservices/OAuthClientService?wsdl</code>, while <code>ox-prov.coolhosting.me</code> denotes your provisioning node. Below you find example requests and responses for all operations.
 
All operations require the master admin credentials. Icons raw bytes are always required/returned as a Base64-encoded strings.
 
==== List Clients ====
 
List all clients of a certain context group. Only IDs and names are returned.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:listClients&gt;
        &lt;soap:contextGroup&gt;default&lt;/soap:contextGroup&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:listClients&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;listClientsResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;client&gt;
            &lt;id&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/id&gt;
            &lt;name&gt;Example.com&lt;/name&gt;
        &lt;/client&gt;
        &lt;client&gt;
            &lt;id&gt;ZGVmYXVsdA/0b44694662564c1fb2c1bfc008e247d5b27dd32632734f879d8023aa640dd1ae&lt;/id&gt;
            &lt;name&gt;Another App&lt;/name&gt;
        &lt;/client&gt;
      &lt;/listClientsResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Get Client Details ====
 
Get the details of a client by its ID.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:getClientById&gt;
        &lt;soap:clientId&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/soap:clientId&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:getClientById&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;getClientByIdResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;client&gt;
            &lt;id&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/id&gt;
            &lt;name&gt;Example.com&lt;/name&gt;
            &lt;description&gt;Example.com is the superior App Suite extension!&lt;/description&gt;
            &lt;contactAddress&gt;contact@example.com&lt;/contactAddress&gt;
            &lt;website&gt;https://example.com&lt;/website&gt;
            &lt;defaultScope&gt;write_contacts read_contacts&lt;/defaultScope&gt;
            &lt;redirectURI&gt;https://app.example.com/oauth2&lt;/redirectURI&gt;
            &lt;redirectURI&gt;https://testbed.example.com/oauth2&lt;/redirectURI&gt;
            &lt;secret&gt;dc989e068a7943dc800069b807fd6fc9b6ef3defa43d4717ba66c0a275c0697f&lt;/secret&gt;
            &lt;registrationDate&gt;1429028393472&lt;/registrationDate&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;icon&gt;
              &lt;mimeType&gt;image/jpg&lt;/mimeType&gt;
              &lt;data&gt;
                /9j/4AAQSkZJRgABAgAAAQABAAD/7QCEUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGccAigAYkZC
                TUQwMTAwMGE4NjAxMDAwMGUxMDEwMDAwMmQwMjAwMDA1OTAyMDAwMDhlMDIwMDAwMDAwMzAwMDA1
                NDAzMDAwMDhlMDMwMDAwY2IwMzAwMDAwOTA0MDAwMDg2MDQwMDAwAP/bAEMABgQFBgUEBgYFBgcH
                BggKEAoKCQkKFA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMB
                BwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo
                KCgoKCgoKP/CABEIADIAMgMAIgABEQECEQH/xAAZAAADAQEBAAAAAAAAAAAAAAAAAQIDBgX/xAAY
                AQEBAQEBAAAAAAAAAAAAAAABAAIDBf/EABgBAQEBAQEAAAAAAAAAAAAAAAEAAgMF/9oADAMAAAER
                AhEAAAHx9cNfQ8/a8qSoJpEg4dZyHW8+mstZ0+c6Lld4ZBrOTljo821ylQIqWmLaaIAgCv/EABwQ
                AQACAwADAAAAAAAAAAAAAAQBAwACECAwQP/aAAgBAAABBQKMjwnkeiSlOMlIV2lKdGXkoGbedZjk
                qIkQ7gEtOwxtbGHYWfn/AP/EABoRAAICAwAAAAAAAAAAAAAAAAACEUEgITD/2gAIAQIRAT8BwWDV
                jRXL/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAIRQSAhMP/aAAgBAREBPwHBpN0JN8v/xAAjEAACAgED
                AwUAAAAAAAAAAAACAwERAAQhMRASUhMUMEBh/9oACAEAAAY/AvnQ3UeqZM8ZyVLF4lV3M4xNyGqG
                452nI9zMnqC4EZwe0amt/wB6oVqCYsleMZLVscZVVSOMaNs1R78bRnbrLB48GMfY/8QAIhABAQEA
                AQMDBQAAAAAAAAAAAQARMRAhUSBBYTCxwfDx/9oACAEAAAE/IegW+kGG2WW2GDsEeLNNt4a4eEXr
                0F1j7h+Js7jYp/PmO2LD3lbEY6A5dwy1Qz7pB2k9zNXjfH3hXkLT9+Jd/NsQw22y2x136f8A/9oA
                DAMAAAERAhEAABCmLro7VXJNxDxan8P/xAAeEQACAgEFAQAAAAAAAAAAAAAAAREhMRAgQWHwUf/a
                AAgBAhEBPxBjEiBLTnsSrTv30uXH2SBkEaPZ/8QAHhEAAgIBBQEAAAAAAAAAAAAAAREAIUEQIFGB
                ofD/2gAIAQERAT8QEBhOh0TWVCb2wvuJQbvzqOCOPd//xAAeEAEAAgICAwEAAAAAAAAAAAABABEh
                MRBBIFFhcf/aAAgBAAABPxBxRwhYpcXMHhJXKickhiCmsBi85lCK1ihDVt7OpbSJ1bS51jOxsh64
                V5/uLp2tuCWgBK57D1wURjVqLpt04TPTcFAChCyO6M47agH1wzs1XS8pmnRo1MIm32jNPa/R9UIE
                A1Zp++MBDyCgweFxeCEPH//Z
              &lt;/data&gt;
            &lt;/icon&gt;
        &lt;/client&gt;
      &lt;/getClientByIdResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Register Client ====
 
Register a new client. The response contains the whole client data along with the generated client ID and secret.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:registerClient&gt;
        &lt;soap:contextGroup&gt;default&lt;/soap:contextGroup&gt;
        &lt;soap:clientData&gt;
            &lt;!-- All client data fields must be set during registration! --&gt;
            &lt;soap:name&gt;Example.com&lt;/soap:name&gt;
            &lt;soap:description&gt;Example.com is the superior App Suite extension!&lt;/soap:description&gt;
            &lt;soap:contactAddress&gt;contact@example.com&lt;/soap:contactAddress&gt;
            &lt;soap:website&gt;https://example.com&lt;/soap:website&gt;
            &lt;!-- Scope is required as a space-separated string --&gt;
            &lt;soap:defaultScope&gt;read_contacts write_contacts&lt;/soap:defaultScope&gt;
            &lt;!-- You may define one or more redirect URIs --&gt;
            &lt;soap:redirectURI&gt;https://app.example.com/oauth2&lt;/soap:redirectURI&gt;
            &lt;soap:redirectURI&gt;https://testbed.example.com/oauth2&lt;/soap:redirectURI&gt;
            &lt;soap:icon&gt;
              &lt;soap:mimeType&gt;image/jpg&lt;/soap:mimeType&gt;
              &lt;data&gt;
                /9j/4AAQSkZJRgABAgAAAQABAAD/7QCEUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGccAigAYkZC
                TUQwMTAwMGE4NjAxMDAwMGUxMDEwMDAwMmQwMjAwMDA1OTAyMDAwMDhlMDIwMDAwMDAwMzAwMDA1
                NDAzMDAwMDhlMDMwMDAwY2IwMzAwMDAwOTA0MDAwMDg2MDQwMDAwAP/bAEMABgQFBgUEBgYFBgcH
                BggKEAoKCQkKFA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMB
                BwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo
                KCgoKCgoKP/CABEIADIAMgMAIgABEQECEQH/xAAZAAADAQEBAAAAAAAAAAAAAAAAAQIDBgX/xAAY
                AQEBAQEBAAAAAAAAAAAAAAABAAIDBf/EABgBAQEBAQEAAAAAAAAAAAAAAAEAAgMF/9oADAMAAAER
                AhEAAAHx9cNfQ8/a8qSoJpEg4dZyHW8+mstZ0+c6Lld4ZBrOTljo821ylQIqWmLaaIAgCv/EABwQ
                AQACAwADAAAAAAAAAAAAAAQBAwACECAwQP/aAAgBAAABBQKMjwnkeiSlOMlIV2lKdGXkoGbedZjk
                qIkQ7gEtOwxtbGHYWfn/AP/EABoRAAICAwAAAAAAAAAAAAAAAAACEUEgITD/2gAIAQIRAT8BwWDV
                jRXL/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAIRQSAhMP/aAAgBAREBPwHBpN0JN8v/xAAjEAACAgED
                AwUAAAAAAAAAAAACAwERAAQhMRASUhMUMEBh/9oACAEAAAY/AvnQ3UeqZM8ZyVLF4lV3M4xNyGqG
                452nI9zMnqC4EZwe0amt/wB6oVqCYsleMZLVscZVVSOMaNs1R78bRnbrLB48GMfY/8QAIhABAQEA
                AQMDBQAAAAAAAAAAAQARMRAhUSBBYTCxwfDx/9oACAEAAAE/IegW+kGG2WW2GDsEeLNNt4a4eEXr
                0F1j7h+Js7jYp/PmO2LD3lbEY6A5dwy1Qz7pB2k9zNXjfH3hXkLT9+Jd/NsQw22y2x136f8A/9oA
                DAMAAAERAhEAABCmLro7VXJNxDxan8P/xAAeEQACAgEFAQAAAAAAAAAAAAAAAREhMRAgQWHwUf/a
                AAgBAhEBPxBjEiBLTnsSrTv30uXH2SBkEaPZ/8QAHhEAAgIBBQEAAAAAAAAAAAAAAREAIUEQIFGB
                ofD/2gAIAQERAT8QEBhOh0TWVCb2wvuJQbvzqOCOPd//xAAeEAEAAgICAwEAAAAAAAAAAAABABEh
                MRBBIFFhcf/aAAgBAAABPxBxRwhYpcXMHhJXKickhiCmsBi85lCK1ihDVt7OpbSJ1bS51jOxsh64
                V5/uLp2tuCWgBK57D1wURjVqLpt04TPTcFAChCyO6M47agH1wzs1XS8pmnRo1MIm32jNPa/R9UIE
                A1Zp++MBDyCgweFxeCEPH//Z
              &lt;/data&gt;
            &lt;/soap:icon&gt;
        &lt;/soap:clientData&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:registerClient&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;registerClientResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;client&gt;
            &lt;id&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/id&gt;
            &lt;name&gt;Example.com&lt;/name&gt;
            &lt;description&gt;Example.com is the superior App Suite extension!&lt;/description&gt;
            &lt;contactAddress&gt;contact@example.com&lt;/contactAddress&gt;
            &lt;website&gt;https://example.com&lt;/website&gt;
            &lt;defaultScope&gt;write_contacts read_contacts&lt;/defaultScope&gt;
            &lt;redirectURI&gt;https://app.example.com/oauth2&lt;/redirectURI&gt;
            &lt;redirectURI&gt;https://testbed.example.com/oauth2&lt;/redirectURI&gt;
            &lt;secret&gt;dc989e068a7943dc800069b807fd6fc9b6ef3defa43d4717ba66c0a275c0697f&lt;/secret&gt;
            &lt;registrationDate&gt;1429028393472&lt;/registrationDate&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;icon&gt;
              &lt;mimeType&gt;image/jpg&lt;/mimeType&gt;
              &lt;data&gt;
                /9j/4AAQSkZJRgABAgAAAQABAAD/7QCEUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGccAigAYkZC
                TUQwMTAwMGE4NjAxMDAwMGUxMDEwMDAwMmQwMjAwMDA1OTAyMDAwMDhlMDIwMDAwMDAwMzAwMDA1
                NDAzMDAwMDhlMDMwMDAwY2IwMzAwMDAwOTA0MDAwMDg2MDQwMDAwAP/bAEMABgQFBgUEBgYFBgcH
                BggKEAoKCQkKFA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMB
                BwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo
                KCgoKCgoKP/CABEIADIAMgMAIgABEQECEQH/xAAZAAADAQEBAAAAAAAAAAAAAAAAAQIDBgX/xAAY
                AQEBAQEBAAAAAAAAAAAAAAABAAIDBf/EABgBAQEBAQEAAAAAAAAAAAAAAAEAAgMF/9oADAMAAAER
                AhEAAAHx9cNfQ8/a8qSoJpEg4dZyHW8+mstZ0+c6Lld4ZBrOTljo821ylQIqWmLaaIAgCv/EABwQ
                AQACAwADAAAAAAAAAAAAAAQBAwACECAwQP/aAAgBAAABBQKMjwnkeiSlOMlIV2lKdGXkoGbedZjk
                qIkQ7gEtOwxtbGHYWfn/AP/EABoRAAICAwAAAAAAAAAAAAAAAAACEUEgITD/2gAIAQIRAT8BwWDV
                jRXL/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAIRQSAhMP/aAAgBAREBPwHBpN0JN8v/xAAjEAACAgED
                AwUAAAAAAAAAAAACAwERAAQhMRASUhMUMEBh/9oACAEAAAY/AvnQ3UeqZM8ZyVLF4lV3M4xNyGqG
                452nI9zMnqC4EZwe0amt/wB6oVqCYsleMZLVscZVVSOMaNs1R78bRnbrLB48GMfY/8QAIhABAQEA
                AQMDBQAAAAAAAAAAAQARMRAhUSBBYTCxwfDx/9oACAEAAAE/IegW+kGG2WW2GDsEeLNNt4a4eEXr
                0F1j7h+Js7jYp/PmO2LD3lbEY6A5dwy1Qz7pB2k9zNXjfH3hXkLT9+Jd/NsQw22y2x136f8A/9oA
                DAMAAAERAhEAABCmLro7VXJNxDxan8P/xAAeEQACAgEFAQAAAAAAAAAAAAAAAREhMRAgQWHwUf/a
                AAgBAhEBPxBjEiBLTnsSrTv30uXH2SBkEaPZ/8QAHhEAAgIBBQEAAAAAAAAAAAAAAREAIUEQIFGB
                ofD/2gAIAQERAT8QEBhOh0TWVCb2wvuJQbvzqOCOPd//xAAeEAEAAgICAwEAAAAAAAAAAAABABEh
                MRBBIFFhcf/aAAgBAAABPxBxRwhYpcXMHhJXKickhiCmsBi85lCK1ihDVt7OpbSJ1bS51jOxsh64
                V5/uLp2tuCWgBK57D1wURjVqLpt04TPTcFAChCyO6M47agH1wzs1XS8pmnRo1MIm32jNPa/R9UIE
                A1Zp++MBDyCgweFxeCEPH//Z
              &lt;/data&gt;
            &lt;/icon&gt;
        &lt;/client&gt;
      &lt;/registerClientResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Update Client ====
 
Already registered clients can be modified. The response contains the whole client data with all changes applied.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:updateClient&gt;
        &lt;soap:clientId&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/soap:clientId&gt;
        &lt;soap:clientData&gt;
            &lt;!-- All client data fields that are set will be updated.
                If you want to change the redirect URIs, you must specify all of them!
                All URIs are overridden by the data of this request. If you don't specify
                any redirectURI element, the existing ones are kept. --&gt;
            &lt;!-- Extend default scope --&gt;
            &lt;soap:defaultScope&gt;read_contacts write_contacts read_calendar write_calendar&lt;/soap:defaultScope&gt;
        &lt;/soap:clientData&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:updateClient&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;updateClientResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;client&gt;
            &lt;id&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/id&gt;
            &lt;name&gt;Example.com&lt;/name&gt;
            &lt;description&gt;Example.com is the superior App Suite extension!&lt;/description&gt;
            &lt;contactAddress&gt;contact@example.com&lt;/contactAddress&gt;
            &lt;website&gt;https://example.com&lt;/website&gt;
            &lt;defaultScope&gt;write_contacts write_calendar read_contacts read_calendar&lt;/defaultScope&gt;
            &lt;redirectURI&gt;https://app.example.com/oauth2&lt;/redirectURI&gt;
            &lt;redirectURI&gt;https://testbed.example.com/oauth2&lt;/redirectURI&gt;
            &lt;secret&gt;dc989e068a7943dc800069b807fd6fc9b6ef3defa43d4717ba66c0a275c0697f&lt;/secret&gt;
            &lt;registrationDate&gt;1429028393472&lt;/registrationDate&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;icon&gt;
              &lt;mimeType&gt;image/jpg&lt;/mimeType&gt;
              &lt;data&gt;
                /9j/4AAQSkZJRgABAgAAAQABAAD/7QCEUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGccAigAYkZC
                TUQwMTAwMGE4NjAxMDAwMGUxMDEwMDAwMmQwMjAwMDA1OTAyMDAwMDhlMDIwMDAwMDAwMzAwMDA1
                NDAzMDAwMDhlMDMwMDAwY2IwMzAwMDAwOTA0MDAwMDg2MDQwMDAwAP/bAEMABgQFBgUEBgYFBgcH
                BggKEAoKCQkKFA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMB
                BwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo
                KCgoKCgoKP/CABEIADIAMgMAIgABEQECEQH/xAAZAAADAQEBAAAAAAAAAAAAAAAAAQIDBgX/xAAY
                AQEBAQEBAAAAAAAAAAAAAAABAAIDBf/EABgBAQEBAQEAAAAAAAAAAAAAAAEAAgMF/9oADAMAAAER
                AhEAAAHx9cNfQ8/a8qSoJpEg4dZyHW8+mstZ0+c6Lld4ZBrOTljo821ylQIqWmLaaIAgCv/EABwQ
                AQACAwADAAAAAAAAAAAAAAQBAwACECAwQP/aAAgBAAABBQKMjwnkeiSlOMlIV2lKdGXkoGbedZjk
                qIkQ7gEtOwxtbGHYWfn/AP/EABoRAAICAwAAAAAAAAAAAAAAAAACEUEgITD/2gAIAQIRAT8BwWDV
                jRXL/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAIRQSAhMP/aAAgBAREBPwHBpN0JN8v/xAAjEAACAgED
                AwUAAAAAAAAAAAACAwERAAQhMRASUhMUMEBh/9oACAEAAAY/AvnQ3UeqZM8ZyVLF4lV3M4xNyGqG
                452nI9zMnqC4EZwe0amt/wB6oVqCYsleMZLVscZVVSOMaNs1R78bRnbrLB48GMfY/8QAIhABAQEA
                AQMDBQAAAAAAAAAAAQARMRAhUSBBYTCxwfDx/9oACAEAAAE/IegW+kGG2WW2GDsEeLNNt4a4eEXr
                0F1j7h+Js7jYp/PmO2LD3lbEY6A5dwy1Qz7pB2k9zNXjfH3hXkLT9+Jd/NsQw22y2x136f8A/9oA
                DAMAAAERAhEAABCmLro7VXJNxDxan8P/xAAeEQACAgEFAQAAAAAAAAAAAAAAAREhMRAgQWHwUf/a
                AAgBAhEBPxBjEiBLTnsSrTv30uXH2SBkEaPZ/8QAHhEAAgIBBQEAAAAAAAAAAAAAAREAIUEQIFGB
                ofD/2gAIAQERAT8QEBhOh0TWVCb2wvuJQbvzqOCOPd//xAAeEAEAAgICAwEAAAAAAAAAAAABABEh
                MRBBIFFhcf/aAAgBAAABPxBxRwhYpcXMHhJXKickhiCmsBi85lCK1ihDVt7OpbSJ1bS51jOxsh64
                V5/uLp2tuCWgBK57D1wURjVqLpt04TPTcFAChCyO6M47agH1wzs1XS8pmnRo1MIm32jNPa/R9UIE
                A1Zp++MBDyCgweFxeCEPH//Z
              &lt;/data&gt;
            &lt;/icon&gt;
        &lt;/client&gt;
      &lt;/updateClientResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Revoke Secret ====
 
A clients secret can be revoked. This leads to a revocation of all grants authorized by any users for this client. A new secret is generated and part of the response.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:revokeClientSecret&gt;
        &lt;soap:clientId&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/soap:clientId&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:revokeClientSecret&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;revokeClientSecretResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;client&gt;
            &lt;id&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/id&gt;
            &lt;name&gt;Example.com&lt;/name&gt;
            &lt;description&gt;Example.com is the superior App Suite extension!&lt;/description&gt;
            &lt;contactAddress&gt;contact@example.com&lt;/contactAddress&gt;
            &lt;website&gt;https://example.com&lt;/website&gt;
            &lt;defaultScope&gt;write_contacts write_calendar read_contacts read_calendar&lt;/defaultScope&gt;
            &lt;redirectURI&gt;https://app.example.com/oauth2&lt;/redirectURI&gt;
            &lt;redirectURI&gt;https://testbed.example.com/oauth2&lt;/redirectURI&gt;
            &lt;secret&gt;67726d3b86854fc594a19b2251f7e668ece7e9205f11431c92f3f2a6bd2295fc&lt;/secret&gt;
            &lt;registrationDate&gt;1429028393472&lt;/registrationDate&gt;
            &lt;enabled&gt;true&lt;/enabled&gt;
            &lt;icon&gt;
              &lt;mimeType&gt;image/jpg&lt;/mimeType&gt;
              &lt;data&gt;
                /9j/4AAQSkZJRgABAgAAAQABAAD/7QCEUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGccAigAYkZC
                TUQwMTAwMGE4NjAxMDAwMGUxMDEwMDAwMmQwMjAwMDA1OTAyMDAwMDhlMDIwMDAwMDAwMzAwMDA1
                NDAzMDAwMDhlMDMwMDAwY2IwMzAwMDAwOTA0MDAwMDg2MDQwMDAwAP/bAEMABgQFBgUEBgYFBgcH
                BggKEAoKCQkKFA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMB
                BwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo
                KCgoKCgoKP/CABEIADIAMgMAIgABEQECEQH/xAAZAAADAQEBAAAAAAAAAAAAAAAAAQIDBgX/xAAY
                AQEBAQEBAAAAAAAAAAAAAAABAAIDBf/EABgBAQEBAQEAAAAAAAAAAAAAAAEAAgMF/9oADAMAAAER
                AhEAAAHx9cNfQ8/a8qSoJpEg4dZyHW8+mstZ0+c6Lld4ZBrOTljo821ylQIqWmLaaIAgCv/EABwQ
                AQACAwADAAAAAAAAAAAAAAQBAwACECAwQP/aAAgBAAABBQKMjwnkeiSlOMlIV2lKdGXkoGbedZjk
                qIkQ7gEtOwxtbGHYWfn/AP/EABoRAAICAwAAAAAAAAAAAAAAAAACEUEgITD/2gAIAQIRAT8BwWDV
                jRXL/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAIRQSAhMP/aAAgBAREBPwHBpN0JN8v/xAAjEAACAgED
                AwUAAAAAAAAAAAACAwERAAQhMRASUhMUMEBh/9oACAEAAAY/AvnQ3UeqZM8ZyVLF4lV3M4xNyGqG
                452nI9zMnqC4EZwe0amt/wB6oVqCYsleMZLVscZVVSOMaNs1R78bRnbrLB48GMfY/8QAIhABAQEA
                AQMDBQAAAAAAAAAAAQARMRAhUSBBYTCxwfDx/9oACAEAAAE/IegW+kGG2WW2GDsEeLNNt4a4eEXr
                0F1j7h+Js7jYp/PmO2LD3lbEY6A5dwy1Qz7pB2k9zNXjfH3hXkLT9+Jd/NsQw22y2x136f8A/9oA
                DAMAAAERAhEAABCmLro7VXJNxDxan8P/xAAeEQACAgEFAQAAAAAAAAAAAAAAAREhMRAgQWHwUf/a
                AAgBAhEBPxBjEiBLTnsSrTv30uXH2SBkEaPZ/8QAHhEAAgIBBQEAAAAAAAAAAAAAAREAIUEQIFGB
                ofD/2gAIAQERAT8QEBhOh0TWVCb2wvuJQbvzqOCOPd//xAAeEAEAAgICAwEAAAAAAAAAAAABABEh
                MRBBIFFhcf/aAAgBAAABPxBxRwhYpcXMHhJXKickhiCmsBi85lCK1ihDVt7OpbSJ1bS51jOxsh64
                V5/uLp2tuCWgBK57D1wURjVqLpt04TPTcFAChCyO6M47agH1wzs1XS8pmnRo1MIm32jNPa/R9UIE
                A1Zp++MBDyCgweFxeCEPH//Z
              &lt;/data&gt;
            &lt;/icon&gt;
        &lt;/client&gt;
      &lt;/revokeClientSecretResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Unregister Client ====
 
Of course clients can be unregistered. This leads to a revocation of all grants authorized by any users for this client. If the client ID is invalid, the responses success value will be <code>false</code>.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:unregisterClient&gt;
        &lt;soap:clientId&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/soap:clientId&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:unregisterClient&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;unregisterClientResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;success&gt;true&lt;/success&gt;
      &lt;/unregisterClientResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Disable Client ====
 
Enabled clients can be disabled. This leads to a revocation of all grants authorized by any users for this client and no further grants can be requested. If the client was already disabled, the responses success value will be <code>false</code>.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:disableClient&gt;
        &lt;soap:clientId&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/soap:clientId&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:disableClient&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;disableClientResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;success&gt;true&lt;/success&gt;
      &lt;/disableClientResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>
==== Enable Client ====
 
Disabled clients can of course be enabled again. If the client was already enabled, the responses success value will be <code>false</code>.
 
===== Request =====
 
<pre>&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
  xmlns:soap=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
      &lt;soap:enableClient&gt;
        &lt;soap:clientId&gt;ZGVmYXVsdA/2b6d423de5344ed9bd67f95eb6917507f7c8018a5c0a47a1a4ba1bae14615ee6&lt;/soap:clientId&gt;
        &lt;soap:credentials&gt;
            &lt;soap:login&gt;oxadminmaster&lt;/soap:login&gt;
            &lt;soap:password&gt;secret&lt;/soap:password&gt;
        &lt;/soap:credentials&gt;
      &lt;/soap:enableClient&gt;
  &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</pre>
===== Response =====
 
<pre>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;soap:Body&gt;
      &lt;enableClientResponse xmlns=&quot;http://soap.provider.oauth.openexchange.com&quot;&gt;
        &lt;success&gt;true&lt;/success&gt;
      &lt;/enableClientResponse&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</pre>

Latest revision as of 09:16, 15 May 2019

This information is valid from 7.8.0

Open-Xchange OAuth 2.0 Provider Operator Guide

The content on this page has moved to https://documentation.open-xchange.com/7.10.2/middleware/login_and_sessions/oauth_2.0_provider.html.

Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.