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

View File

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

View File

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