connexion avec o365
This commit is contained in:
12
project/src/AuthConfig.js
Normal file
12
project/src/AuthConfig.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// authConfig.js
|
||||
export const msalConfig = {
|
||||
auth: {
|
||||
clientId: "4bb4cc24-bac3-427c-b02c-5d14fc67b561", // Application (client) ID dans Azure
|
||||
authority: "https://login.microsoftonline.com/9840a2a0-6ae1-4688-b03d-d2ec291be0f9", // Directory (tenant) ID
|
||||
redirectUri: "http://localhost:5173"
|
||||
}
|
||||
};
|
||||
|
||||
export const loginRequest = {
|
||||
scopes: ["User.Read"] // Permet de lire le profil utilisateur
|
||||
};
|
||||
Reference in New Issue
Block a user