wp-openid-connect-server
wp-openid-connect-server copied to clipboard
Customize no permission error message
Would it be possible to add the oidc_no_permission_error_message
filter hook to the AuthenticateHandler
class to customize the error message when the current user has no permission?
In our case, we need to say which action a user needs to take to be able to login.
https://github.com/Automattic/wp-openid-connect-server/blob/3c5f3aacb611dcc6d1b7823b58b07160212151ea/src/Http/Handlers/AuthenticateHandler.php#L79-L82
Please, let me know if there is any other way to achieve it.