Commit Graph

19 Commits

Author SHA1 Message Date
frytimo
e7393cc7c0 New Feature OpenID Connect (#7355)
* Refactor authentication to allow for OpenID Connect
The authentication class has been refactored to separate the `validate` function for the method `create_user_session`. This is needed for the OpenID Connect module to authenticate a user without going through the process of all authentication plugins. Only the function `check_user_cidr` has been rewritten to use a single loop instead of a double-loop.
Due to the fact that create_user_function is public, the $result associative array is checked to ensure the required fields are present and the UUID fields are valid UUIDs. Further checking could be done against the database to ensure the UUIDs exist but this has been suppressed at this time because database queries would be required.

* Database class modified to allow for login banners for OpenID Connect
The database class is responsible for creating the view for login. The OpenID application required banners to be present so that any OpenID Connect authentication mechanism could be used. Each banner displayed has the properties of: name, image, alt, and url. The name is the class name of the authentication plugin. This will match the action in the URL. The image is the image banner used for the login. The alt is the alternate text used for screen readers. Each authenticator is responsible for providing each of the field values.

* Added PHPDocs for the check_cidr function

* Add backwards compatibility for PHP versions below 8

* Remove get_banner_alt

* Update check_cidr to allow cidr array

* Update authentication.php

* Update functions.php

* Update authentication.php
2025-04-17 13:48:16 -06:00
fusionate
da19ca7a7c Login: Display Cancel link to reset form if failure using database authentication. 2025-03-07 12:10:52 -07:00
FusionPBX
3f186d90cc Fix the forget password feature 2025-01-16 21:49:56 -07:00
frytimo
38b02f11d5 fix missing slash '/' at end of link tag (#7200) 2024-12-16 13:53:33 -07:00
FusionPBX
4443519aa1 Add subcontent for shadow and background color
Add css options for background color
2024-09-01 02:18:35 -06:00
FusionPBX
8cc646aece Add login option for domain name for text input or select
Restoring a feature we had in previous versions.
Not a commonly used feature
2024-08-19 18:57:05 -06:00
FusionPBX
8db5c8e7eb Disable picture in picture for background video 2024-07-26 19:47:13 -06:00
FusionPBX
276bf0258f Video muted for Chrome to autoplay 2024-07-24 15:21:33 -06:00
FusionPBX
02db089d8f New setting background_video 2024-06-18 09:32:19 -06:00
fusionate
b23a18fdf1 Authentication: Minor improvements in bad username handling, effort to integrate messages. 2023-06-24 22:40:44 +00:00
fusionate
a7ecdf72f8 Authentication: Remove cancel link from username template (form is always displayed first, if needed). 2023-06-24 21:34:42 +00:00
fusionate
aa7def54a6 Authentication - Fix MFA when all methods are enabled. 2023-06-24 21:18:39 +00:00
fusionate
71d6415d06 Authentication - TOTP: Add description. 2023-06-23 17:47:31 +00:00
fusionate
6bcc5aff5e Authentication: Added some polish, Cancel links, PHP 8.1 updates. 2023-06-23 00:14:07 +00:00
fusionate
3021f59431 Login: Restore authentication failed message. 2023-06-17 23:16:39 +00:00
FusionPBX
d9cc3314d3 Add favicon (#6671)
* Add favicon

* Update totp_secret.htm

* Update totp.htm

* Update login.htm

* Update email.htm

* Update totp.php

* Update ldap.php

* Update email.php

* Update database.php
2023-05-06 18:31:48 -06:00
FusionPBX
2bc91f2612 Auto create TOTP secret (#6670)
* Auto create TOTP secret

Auto create TOTP secret after successful database authentication when the TOTP secret has not been set.
2023-05-06 12:24:26 -06:00
FusionPBX
b6542299ba Center the authentication_code 2023-04-23 01:13:55 -06:00
markjcrane
00801b5b04 Add mutli-factor authentication. 2023-04-16 01:10:39 -06:00