mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
OAuth2-settings polishing
Signed-off-by: Marius Blüm <marius@lineone.io>
This commit is contained in:
committed by
Morris Jobke
parent
6e6eaf20d4
commit
e5070ebb54
BIN
admin_manual/configuration_server/images/oauth2-settings.png
Normal file
BIN
admin_manual/configuration_server/images/oauth2-settings.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
@@ -3,28 +3,26 @@ OAuth2
|
||||
======
|
||||
|
||||
Nextcloud allows connecting external services (for example Moodle) to your Nextcloud.
|
||||
This is done via OAuth2. See `RFC6749 <https://tools.ietf.org/html/rfc6749>`_ for the
|
||||
This is done via ``OAuth2``. See `RFC6749 <https://tools.ietf.org/html/rfc6749>`_ for the
|
||||
OAuth2 specification.
|
||||
|
||||
Note: Nextcloud only supports confidential clients.
|
||||
.. note:: Nextcloud does only support confidential clients.
|
||||
|
||||
Add an OAuth2 Application
|
||||
-------------------------
|
||||
|
||||
Head over to your Administrator Security Settings. Here you can add a new OAuth2 client.
|
||||
Head over to your Administrator Security Settings. Here you can add a new ``OAuth2`` client.
|
||||
|
||||
TODO: Figure
|
||||
.. figure:: ../images/oauth2-settings.png
|
||||
|
||||
Enter a name. And a redirection url.
|
||||
Enter the name of your application and provide a redirection url.
|
||||
You should now have a Client Identifier and Secret. Enter those into your ``OAuth2`` client.
|
||||
|
||||
You should now have a Client Identifier and Secret. Enter those into your OAuth2 client.
|
||||
|
||||
As well as:
|
||||
Please provide the OAuth2 application the following details:
|
||||
|
||||
Authorization endpoint: SERVER/apps/oauth2/authorize
|
||||
Token endpoint: SERVER/apps/oauth2/api/v1/token
|
||||
|
||||
|
||||
The access token
|
||||
----------------
|
||||
|
||||
@@ -33,4 +31,4 @@ Nextcloud server you will have to send the proper authorization header.
|
||||
|
||||
Authorization: Bearer <TOKEN>
|
||||
|
||||
Note that apache by default strips this. Make sure you have mod_rewrite and mod_env enabled.
|
||||
Note that apache by default strips this. Make sure you have ``mod_rewrite`` and ``mod_env`` enabled.
|
||||
|
||||
Reference in New Issue
Block a user