Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 로그인시 500 에러 #114

Open
JuneParkCode opened this issue Sep 25, 2023 · 0 comments
Open

[BUG] 로그인시 500 에러 #114

JuneParkCode opened this issue Sep 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JuneParkCode
Copy link
Member

Describe the bug
불특정 상황에서 로그인 시 500 에러 발생

{
  "code": "invalid_grant",
  "context": "PrismaClientExceptionFilter",
  "error": {
    "code": "invalid_grant",
    "message": "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",
    "name": "TokenError",
    "status": 500
  },
  "level": "error",
  "message": "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",
  "stack": [
    "TokenError: The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.\n    at FtStrategy.OAuth2Strategy.parseErrorResponse (/home/ubuntu/node_modules/passport-oauth2/lib/strategy.js:373:12)\n    at FtStrategy.OAuth2Strategy._createOAuthError (/home/ubuntu/node_modules/passport-oauth2/lib/strategy.js:420:16)\n    at /home/ubuntu/node_modules/passport-oauth2/lib/strategy.js:177:45\n    at /home/ubuntu/node_modules/oauth/lib/oauth2.js:191:18\n    at passBackControl (/home/ubuntu/node_modules/oauth/lib/oauth2.js:132:9)\n    at IncomingMessage.<anonymous> (/home/ubuntu/node_modules/oauth/lib/oauth2.js:157:7)\n    at IncomingMessage.emit (node:events:525:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1359:12)\n    at processTicksAndRejections (node:internal/process/task_queues:82:21)"
  ],
  "status": 500,
  "timestamp": "2023-09-25T07:54:03.595Z"
}

To Reproduce

  • 확인안됨

Expected behavior

  • 로그인 과정에서 500이 발생해서는 안됨.
@JuneParkCode JuneParkCode added the bug Something isn't working label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant