Skip to content

Commit 42896f6

Browse files
committed
fix redirect to gg server
1 parent 02b0ad7 commit 42896f6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/core/services/config-service/oauth.configuration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export const OAuthConfig = {
33
clientId:
44
'839020123858-qnan968uvj0u9d5h6bq5cd5ulls9h7dk.apps.googleusercontent.com',
55
redirectUri: 'http://localhost:4200/auth/identity/authenticate',
6+
redirectUriServer: 'http://3.27.221.69/auth/identity/authenticate',
67
authUri: 'https://accounts.google.com/o/oauth2/auth',
78
},
89
facebook: {

src/app/features/auth/pages/login/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class Login {
135135
onGoogleLogin() {
136136
const params = new URLSearchParams({
137137
client_id: OAuthConfig.google.clientId,
138-
redirect_uri: OAuthConfig.google.redirectUri,
138+
redirect_uri: OAuthConfig.google.redirectUriServer,
139139
response_type: 'code',
140140
scope: 'email profile openid',
141141
include_granted_scopes: 'true',

0 commit comments

Comments
 (0)