-
-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OAuth2 with Microsoft Entra is now available
- Loading branch information
1 parent
4428f3c
commit d39f525
Showing
39 changed files
with
685 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* Teampass - a collaborative passwords manager. | ||
* --- | ||
* This file is part of the TeamPass project. | ||
* | ||
* TeamPass is free software: you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, version 3 of the License. | ||
* | ||
* TeamPass is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
* Certain components of this file may be under different licenses. For | ||
* details, see the `licenses` directory or individual file headers. | ||
* --- | ||
* @file login.oauth2.php | ||
* @author Nils Laumaillé ([email protected]) | ||
* @copyright 2009-2024 Teampass.net | ||
* @license GPL-3.0 | ||
* @see https://www.teampass.net | ||
*/ | ||
|
||
use TeampassClasses\AzureAuthController\AzureAuthController; | ||
session_start(); | ||
require_once __DIR__. '/../../includes/config/include.php'; | ||
require_once __DIR__.'/../../sources/main.functions.php'; | ||
|
||
// init | ||
loadClasses(); | ||
|
||
// Création d'une instance du contrôleur | ||
$azureAuth = new AzureAuthController($SETTINGS); | ||
|
||
// Redirection vers Azure pour l'authentification | ||
$azureAuth->redirect(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.