fix: update Microsoft OAuth configuration with new clientId and authority

This commit is contained in:
Marek Lesko
2025-11-07 20:11:19 +00:00
parent 1dcd23a776
commit 89ac32cd07
3 changed files with 7 additions and 6 deletions

View File

@@ -8,9 +8,9 @@
"OAuth": { "OAuth": {
"Providers": { "Providers": {
"microsoft": { "microsoft": {
"Authority": "https://login.microsoftonline.com/4a0d328f-1f94-4920-b67e-4275737d02a5/v2.0", "Authority": "https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
"ClientId": "eb03f08b-280a-46c7-9700-b012caa46000", "ClientId": "904abfa3-d392-400b-8de8-284e6041e929",
"ValidAudiences": ["eb03f08b-280a-46c7-9700-b012caa46000"] "ValidAudiences": ["904abfa3-d392-400b-8de8-284e6041e929"]
}, },
"google": { "google": {
"Authority": "https://accounts.google.com", "Authority": "https://accounts.google.com",

View File

@@ -2,8 +2,8 @@
"apiEndpoint": "http://localhost:5000", "apiEndpoint": "http://localhost:5000",
"oauthProviders": { "oauthProviders": {
"microsoft": { "microsoft": {
"clientId": "eb03f08b-280a-46c7-9700-b012caa46000", "clientId": "904abfa3-d392-400b-8de8-284e6041e929",
"issuer": "https://login.microsoftonline.com/4a0d328f-1f94-4920-b67e-4275737d02a5/v2.0" "issuer": "https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0"
}, },
"google": { "google": {
"clientId": "1000025801082-09ikmt61a9c9vbdjhpdab9b0ui3vdnij.apps.googleusercontent.com", "clientId": "1000025801082-09ikmt61a9c9vbdjhpdab9b0ui3vdnij.apps.googleusercontent.com",

View File

@@ -15,6 +15,7 @@ const USER_KEY = 'user_profile';
export class AuthenticationService { export class AuthenticationService {
private config: Partial<AuthConfig> = { private config: Partial<AuthConfig> = {
redirectUri: this.getRedirectUri(), redirectUri: this.getRedirectUri(),
scope: 'openid profile email', scope: 'openid profile email',
responseType: 'code', responseType: 'code',