Skip to content

Commit

Permalink
Merge pull request #90 from DDD-Community/feature/kakao-redirect-uri
Browse files Browse the repository at this point in the history
feat: set redirect uri env
  • Loading branch information
junseublim authored Aug 19, 2024
2 parents a0ae36b + 3eac3cf commit c332dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
echo "AUTH_KAKAO_ID=${{secrets.AUTH_KAKAO_ID}}" >> .env
echo "AUTH_KAKAO_SECRET=${{secrets.AUTH_KAKAO_SECRET}}" >> .env
echo "AUTH_SECRET=${{secrets.AUTH_SECRET}}" >> .env
echo "AUTH_REDIRECT_URI=${{secrets.AUTH_REDIRECT_URI}}" >> .env
- name: Build docker image
run: docker build -t ${{ vars.DOCKER_IMAGE }} .
- name: Login to DockerHub
Expand Down
1 change: 1 addition & 0 deletions src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const { handlers, signIn, signOut, auth, unstable_update } = NextAuth({
Kakao({
clientId: process.env.AUTH_KAKAO_ID,
clientSecret: process.env.AUTH_KAKAO_SECRET,
redirectProxyUrl: `${process.env.AUTH_REDIRECT_URI}/api/auth`,
}),
],

Expand Down

0 comments on commit c332dfd

Please sign in to comment.