diff options
author | Jessica Tallon <jessica@megworld.co.uk> | 2014-10-02 20:28:58 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-10-02 20:34:25 +0100 |
commit | 670cdef79c39262fa0844a91777b8c69751bab01 (patch) | |
tree | d9c34460b5aa4034a0f2e537a03d1e0c999b744b /docs/source | |
parent | ab46e89a65d69cadd45a568ff89d8157f2ea8512 (diff) | |
download | mediagoblin-670cdef79c39262fa0844a91777b8c69751bab01.tar.lz mediagoblin-670cdef79c39262fa0844a91777b8c69751bab01.tar.xz mediagoblin-670cdef79c39262fa0844a91777b8c69751bab01.zip |
Fix typo in client registration API for logo_uri
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/api/client_register.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/source/api/client_register.rst b/docs/source/api/client_register.rst index 08f92c47..9c29bafc 100644 --- a/docs/source/api/client_register.rst +++ b/docs/source/api/client_register.rst @@ -15,7 +15,7 @@ Registering a Client ==================== -To use the GNU MediaGoblin API you need to use the dynamic client registration. This has been adapted from the `OpenID specification <https://openid.net/specs/openid-connect-registration-1_0.html>`_, this is the only part of OpenID that is being used to serve the purpose to provide the client registration which is used in OAuth. +To use the GNU MediaGoblin API you need to use the dynamic client registration. This has been adapted from the `OpenID specification <https://openid.net/specs/openid-connect-registration-1_0.html>`_, this is the only part of OpenID that is being used to serve the purpose to provide the client registration which is used in OAuth. The endpoint is ``/api/client/register`` @@ -39,8 +39,8 @@ application_type application_name **optional** - This is the name of your client -logo_url - **optional** - This is a URL of the logo image for your client +logo_uri + **optional** - This is a URI of the logo image for your client redirect_uri **optional** - This is a space seporated list of pre-registered URLs for use at the Authorization Server @@ -93,8 +93,8 @@ Using the response we got above we can update the information and add new inform "client_id": "vwljdhUMhhNbdKizpjZlxv", "client_secret": "hJtfhaQzgKerlLVdaeRAgmbcstSOBLRfgOinMxBCHcb", "application_type": "web", - "application_name": "MyClient!", - "logo_url": "https://myclient.org/images/my_logo.png", + "application_name": "MyClient!", + "logo_uri": "https://myclient.org/images/my_logo.png", "contacts": "myemail@someprovider.com another_developer@provider.net", } @@ -155,4 +155,3 @@ redirect_uris must be space-separated URLs. URI <URI> is not a valid URI This is when your URI is invalid. - |