fix: update Microsoft OAuth configuration with new clientId and authority
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
"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",
|
||||||
"issuer": "https://accounts.google.com",
|
"issuer": "https://accounts.google.com",
|
||||||
"dummyClientSecret": "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"
|
"dummyClientSecret": "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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user