Diferencia entre revisiones de «Autenticación OAuth 2»
De MoodleDocs
(added page) |
(tidy up) |
||
Línea 1: | Línea 1: | ||
{{Autenticación}}{{Nuevas características de Moodle 3.3}} | {{Autenticación}}{{Nuevas características de Moodle 3.3}} | ||
{{Urgente de traducir}} | |||
The OAuth 2 authentication plugin enables users to log in using their Google, Microsoft and/or Facebook account. If enabled, when a user first logs in, a new account will be created. Otherwise, they will be prompted to [[Ingresos enlazados|enlazarlo a su cuenta existente]] with the same email address. | |||
[[File:oauth 2 auth.png|thumb|Login page with options to log in with an OAuth 2 service]] | |||
==Enabling OAuth 2 authentication== | |||
To use OAuth 2 authentication, an administrator must first create the required OAuth 2 services. | |||
# Go to 'OAuth 2 services' in Site administration and click the button to create a new service. | |||
# Follow the instructions in [[Servicio OAuth 2 Google]], [[Servicio OAuth 2 Microsoft]] or [[Servicio OAuth 2 Facebook]] and obtain a client ID and secret. | |||
# Enter the client ID and secret and save changes. | |||
# Repeat for additional services as desired. | |||
# Go to 'Manage authentication' in Site administration and enable the OAuth 2 authentication plugin. | |||
# Optional: In the OAuth 2 settings, lock selected user data fields and save changes. | |||
==Preventing new account creation== | |||
If you don't want new accounts to be created when users log in with an OAuth 2 service: | |||
# Go to 'Manage authentication' in Site administration and tick the box 'Prevent account creation when authenticating' (authpreventaccountcreation). | |||
# Click the 'Save changes' button. | |||
[[Categoría:OAuth 2]] | |||
[[en:OAuth 2 authentication]] | [[en:OAuth 2 authentication]] |
Revisión del 16:26 15 may 2017
¡Nueva característica
en Moodle 3.3!
Nota: Urgente de Traducir. ¡ Anímese a traducir esta muy importante página !. ( y otras páginas muy importantes que urge traducir)
The OAuth 2 authentication plugin enables users to log in using their Google, Microsoft and/or Facebook account. If enabled, when a user first logs in, a new account will be created. Otherwise, they will be prompted to enlazarlo a su cuenta existente with the same email address.
Enabling OAuth 2 authentication
To use OAuth 2 authentication, an administrator must first create the required OAuth 2 services.
- Go to 'OAuth 2 services' in Site administration and click the button to create a new service.
- Follow the instructions in Servicio OAuth 2 Google, Servicio OAuth 2 Microsoft or Servicio OAuth 2 Facebook and obtain a client ID and secret.
- Enter the client ID and secret and save changes.
- Repeat for additional services as desired.
- Go to 'Manage authentication' in Site administration and enable the OAuth 2 authentication plugin.
- Optional: In the OAuth 2 settings, lock selected user data fields and save changes.
Preventing new account creation
If you don't want new accounts to be created when users log in with an OAuth 2 service:
- Go to 'Manage authentication' in Site administration and tick the box 'Prevent account creation when authenticating' (authpreventaccountcreation).
- Click the 'Save changes' button.