The login attempt failed. Reason: The email address is not allowed at this site.

The login attempt failed. Reason: The email address is not allowed at this site.

per Prashant Panchal -
Nombre de respostes: 4

The login attempt failed. Reason: The email address is not allowed at this site.Getting error with 

custom OAuth 2 servicesCategory: Administration / Plugins / Authentication  Manage authentication  Available authentication plugins

Mitjana de qualificacions: -
En resposta a Prashant Panchal

Re: The login attempt failed. Reason: The email address is not allowed at this site.

per Leon Stringer -
Imatge Core developers Imatge Particularly helpful Moodlers

The authentication attempt using OAuth 2 is rejected by Moodle. Login domains has been configured for the OAuth 2 issuer in Moodle and the user's email address is not in the list of allowed domains.

En resposta a Leon Stringer

Re: The login attempt failed. Reason: The email address is not allowed at this site.

per Prashant Panchal -
Allow log in via email

Allow users to use both username and email address (if unique) for site login.
Allow accounts with same
Both are ticked
En resposta a Leon Stringer

Re: The login attempt failed. Reason: The email address is not allowed at this site.

per Prashant Panchal -
got the error like into the log:
23 July 2021, 11:14 AM - - System System User login failed Login failed for user 'xxxx@gmail.com'. The user is not authorized (error ID '5'). web