Skip to content

Commit

Permalink
Merge pull request #93 from cjs1301/dev
Browse files Browse the repository at this point in the history
hoxfix token
  • Loading branch information
cjs1301 authored May 6, 2021
2 parents 79a9003 + c7d12dc commit fdfc805
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ export default function App() {

const getAccessToken = async (authorizationCode) => {
// ! 구글 로그인
let resp = await axios.post('http://localhost:4000/googlelogin', {
let resp = await axios.post('http://localhost:4000/googlelogin',
{
authorizationCode: authorizationCode,
},{
withCredentials: true
});
console.log(resp.data)
issueAccessToken(resp.data.accessToken)
Expand Down

0 comments on commit fdfc805

Please sign in to comment.