Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Commit

Permalink
Document OAuth2 limitations and requirements
Browse files Browse the repository at this point in the history
Relates to #3464.
  • Loading branch information
settermjd committed Jun 1, 2018
1 parent f9fbb78 commit fe0a521
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion admin_manual/configuration/server/security/oauth2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ An access token is valid for 1 hour and can be refreshed with a refresh token.
For further information about client registration, please refer to `the official access token response RFC from the IETF`_.

.. note::
For a succinct explanation of the differences between access tokens and authorization codes, check out `this answer on StackOverflow`_.

Installation
------------

Expand All @@ -149,6 +152,8 @@ If you are hosting your ownCloud installation from the Apache web server, then b
Basic Configuration
-------------------

To enable token-only based app or client logins in ``config/config.php`` set ``token_auth_enforced`` to ``true``.

Restricting Usage
-----------------

Expand Down Expand Up @@ -180,4 +185,4 @@ Revoking Sessions
.. _Client authentication: https://tools.ietf.org/html/rfc6749#section-2.3
.. _mod_rewrite: http://httpd.apache.org/docs/current/mod/mod_rewrite.html
.. _mod_headers: http://httpd.apache.org/docs/current/mod/mod_headers.html

.. _this answer on StackOverflow: https://stackoverflow.com/a/16341985/222011

0 comments on commit fe0a521

Please sign in to comment.