Skip to content

Commit

Permalink
Minor modifications in google callback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
sikehish committed Jun 10, 2024
1 parent b53a63c commit 6f63e48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/pages/auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ function Login() {
const googleAuth = (e: any) => {
e.preventDefault()
window.open(
`http://langjam.us-east-1.elasticbeanstalk/api/oauth/google/callback`,
`/api/oauth/google/callback`,
"_self"
);
};
};
// // OR //--> The below is returning undefined in Elastic Beanstalk
// const googleAuth = (e: any) => {
// e.preventDefault()
Expand Down

0 comments on commit 6f63e48

Please sign in to comment.