Skip to content

Commit

Permalink
배포후 로그인 안되는 현상
Browse files Browse the repository at this point in the history
  • Loading branch information
박정민 committed Feb 6, 2024
1 parent 5f470f9 commit 36947df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class AuthService {
const params = new URLSearchParams();
params.append('client_id', process.env.GOOGLE_CLIENT_ID);
params.append('client_secret', process.env.GOOGLE_CLIENT_SECRET);
params.append('redirect_uri', 'http://localhost:5173/auth');
params.append('redirect_uri', process.env.GOOGLE_REDIRCT_URL);

if (!refreshToken) {
params.append('grant_type', 'authorization_code');
Expand Down

0 comments on commit 36947df

Please sign in to comment.