Authentication: Difference between revisions

From MoodleDocs
m (Changed the position of password visibility toggle)
(41 intermediate revisions by 16 users not shown)
Line 1: Line 1:
Location: ''Administration > Users > Authentication >
{{Managing a Moodle site}}
Authentication is the process of allowing a user to log in to a Moodle site with a username and password.
==Authentication plugins==


Authentication is the process of determining whether someone is who they say they are when entering a Moodle site.  Some Moodle sites initial authenticate a user as a "guest" then re-authenticates them by a login.
Moodle provides a number of ways of [[Managing authentication|managing authentication]], called ''authentication plugins''.  


Once someone is authenticated, a user's [[Roles and capabilities|role]] authorizes them, through [[Manage_roles#Permissions|permissions]], to be capable of interacting with different contexts.  A [[Course|course]] is a good example of a context.  The [[Enrolment|enrolment]] process looks for someone who has been authenticated and gives them a role in the context of the course. 
Standard authentication plugins are:


==Overview of authentication==
*[[Manual accounts]] - accounts created manually by an administrator
*[[No login]] - suspend particular user account
*[[Email-based self-registration]] - for enabling users to create their own accounts
*[[CAS server (SSO)]] - account details are located on an external CAS server
*[[External database authentication|External database]] - account details are located on an external database
*[[LDAP authentication|LDAP server]] - account details are located on an external LDAP server
*[[LTI]] - works with the [[Publish as LTI tool]] enrolment method to connect courses and activities
*[[MNet|Moodle Network authentication]] - how different Moodle sites can connect and authenticate users
*[[No authentication]] - for testing purposes or if the Moodle site is not available on the Internet. Do NOT use on public servers!
*[[Shibboleth]] - account details are located on an external Shibboleth server
*[[OAuth 2 authentication|OAuth 2]] - authenticate with an OAuth 2 service
* Web services authentication


One of the first things the site administrator needs to consider when setting up a Moodle site is user authentication. A standard Moodle has 15 types of authentication methods and additional contributed code plugins are available.
There are also many [https://moodle.org/plugins/?q=type:auth additional authentication plugins in the Moodle plugins directory].


The user authentication menu is broken into 5 submenus.  The site administrator will typically manage most authentication menus from the [[Manage authentication]] menu. Other sub menus under Authentication are for convenience because they lead to the same page as the edit links found on the manage authentication menu page.
[[Multi-factor authentication]] can be enabled and managed from Site administration > Plugins > Admin tools in order to increase site security by requiring additional steps before users can log in.
 
==Password visibility toggle==
*[[Manage authentication]] - This shows all the site's authentication methods and has an edit link to each of their settings
Specify whether the password field on the login screen can have the visibility of its contents toggled. This is useful in providing a way to check a password value is entered in correctly. Choose between enabling this setting for all logins, or for logins on small screens only (default). This can also be disabled if required.
*[[Manual accounts]] - accounts created manually by an administrator
*[[Email-based self-registration]] - for enabling users to create their own accounts
*[[Moodle Network]] - how different Moodle sites can connect and authenticate users
*[[No login]] - at present this menu and settings page only contains information


You can access this feature from ''Site administration > Plugins > Authentication > Manage authentication.''
==See also==
==See also==


*[[Authentication FAQ]]
*[[Authentication FAQ]]
*Multi authentication in [[Upgrading to Moodle 1.8]]
*Using Moodle [http://moodle.org/mod/forum/view.php?id=42 User authentication] forum
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=95559 Do users need e-mail addresses?] forum discussion
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=97938 Admin approving self registrations?] forum discussion


[[Category:Authentication]]
[[Category:Authentication]]


[[de:Authentifizierung]]
[[es:Autenticación]]
[[eu:Erabiltzaileen_autentifikazioa]]
[[fr:Authentification]]
[[fr:Authentification]]
[[it:Autenticazione]]
[[ja:認証]]

Revision as of 08:04, 11 April 2024

Authentication is the process of allowing a user to log in to a Moodle site with a username and password.

Authentication plugins

Moodle provides a number of ways of managing authentication, called authentication plugins.

Standard authentication plugins are:

There are also many additional authentication plugins in the Moodle plugins directory.

Multi-factor authentication can be enabled and managed from Site administration > Plugins > Admin tools in order to increase site security by requiring additional steps before users can log in.

Password visibility toggle

Specify whether the password field on the login screen can have the visibility of its contents toggled. This is useful in providing a way to check a password value is entered in correctly. Choose between enabling this setting for all logins, or for logins on small screens only (default). This can also be disabled if required.

You can access this feature from Site administration > Plugins > Authentication > Manage authentication.

See also