Piotoru

providers errors

Jun 9th, 2023 (edited)
859
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //GOOGLE & SPOTIFY ERRORS
  2.  
  3. red url & auth code undefined undefined
  4. red url & auth code undefined undefined
  5. red url & auth code http://localhost:3000/callback/google 'something auth code'
  6. token res {
  7.   access_token: 'something access token',
  8.   expires_in: 3599,
  9.   scope: 'https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid',
  10.   token_type: 'Bearer',
  11.   id_token: 'something'
  12. }
  13. access token 'something access token'
  14.  
  15. //every provider has other body
  16. user info {
  17.   id: 'something',
  18.   email: 'something',
  19.   verified_email: true,
  20.   name: 'something',
  21.   given_name: 'something',
  22.   family_name: 'something',
  23.   picture: 'something',
  24.   locale: 'en-GB'
  25. }
  26. red url & auth code undefined undefined
  27. red url & auth code http://localhost:3000/callback/google 'something auth code'
  28. Error: Request failed with status code 400
  29.     at createError (/usr/src/app/node_modules/supertokens-node/node_modules/axios/lib/core/createError.js:16:15)
  30.     at settle (/usr/src/app/node_modules/supertokens-node/node_modules/axios/lib/core/settle.js:17:12)
  31.     at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/supertokens-node/node_modules/axios/lib/adapters/http.js:269:11)
  32.     at IncomingMessage.emit (node:events:525:35)
  33.     at endReadableNT (node:internal/streams/readable:1359:12)
  34.     at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  35. (...)
  36. }
  37.  
  38. ERROR [ExceptionsHandler] Request failed with status code 400
  39. Error: Request failed with status code 400
  40.     at createError (/usr/src/app/node_modules/supertokens-node/node_modules/axios/lib/core/createError.js:16:15)
  41.     at settle (/usr/src/app/node_modules/supertokens-node/node_modules/axios/lib/core/settle.js:17:12)
  42.     at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/supertokens-node/node_modules/axios/lib/adapters/http.js:269:11)
  43.     at IncomingMessage.emit (node:events:525:35)
  44.     at endReadableNT (node:internal/streams/readable:1359:12)
  45.     at processTicksAndRejections (node:internal/process/task_queues:82:21)
  46.  
  47.  
  48. //DISCORD
  49.  
  50. redirectURI undefined undefined
  51. redirectURI undefined undefined
  52. redirectURI http://localhost:3000/callback/discord 'something auth code'
  53. [Nest] 40  - 06/09/2023, 8:48:24 AM   ERROR [ExceptionsHandler] UNKNOWN_USER_ID
  54. Error: UNKNOWN_USER_ID
  55.     at EmailVerificationClaimClass.<anonymous> (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/emailverification/emailVerificationClaim.js:63:31)
  56.     at Generator.next (<anonymous>)
  57.     at fulfilled (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/emailverification/emailVerificationClaim.js:15:36)
  58.     at processTicksAndRejections (node:internal/process/task_queues:95:5)
  59. token res {
  60.   access_token: 'something access token',
  61.   expires_in: 604800,
  62.   refresh_token: 'something refresh token',
  63.   scope: 'identify email',
  64.   token_type: 'Bearer'
  65. }
  66. accesstoken 'something access token'
  67. AxiosError: Request failed with status code 400
  68.     at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:19:12)
  69.     at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:556:11)
  70.     at IncomingMessage.emit (node:events:525:35)
  71.     at endReadableNT (node:internal/streams/readable:1359:12)
  72.     at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  73. (...)
  74. }
  75.  
  76. ERROR [ExceptionsHandler] Request failed with status code 400
  77. AxiosError: Request failed with status code 400
  78.     at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:19:12)
  79.     at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:556:11)
  80.     at IncomingMessage.emit (node:events:525:35)
  81.     at endReadableNT (node:internal/streams/readable:1359:12)
  82.     at processTicksAndRejections (node:internal/process/task_queues:82:21)
  83.  
  84. //LINE ERROR
  85. access token is undefined
  86.  
  87. ERROR [ExceptionsHandler] UNKNOWN_USER_ID
  88. Error: UNKNOWN_USER_ID
  89.     at EmailVerificationClaimClass.<anonymous> (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/emailverification/emailVerificationClaim.js:63:31)
  90.     at Generator.next (<anonymous>)
  91.     at fulfilled (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/emailverification/emailVerificationClaim.js:15:36)
  92.     at processTicksAndRejections (node:internal/process/task_queues:95:5)
  93. redirectURI undefined undefined
  94. redirectURI undefined undefined
  95. redirectURI http://localhost:3000/callback/line maLptSiPpRUq7VqM4A6P
  96. [Nest] 41  - 06/09/2023, 8:39:09 AM   ERROR [ExceptionsHandler] UNKNOWN_USER_ID
  97. Error: UNKNOWN_USER_ID
  98.     at EmailVerificationClaimClass.<anonymous> (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/emailverification/emailVerificationClaim.js:63:31)
  99.     at Generator.next (<anonymous>)
  100.     at fulfilled (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/emailverification/emailVerificationClaim.js:15:36)
  101.     at processTicksAndRejections (node:internal/process/task_queues:95:5)
  102. token res {
  103.   issuer: 'https://access.line.me',
  104.   authorization_endpoint: 'https://access.line.me/oauth2/v2.1/authorize',
  105.   token_endpoint: 'https://api.line.me/oauth2/v2.1/token',
  106.   revocation_endpoint: 'https://api.line.me/oauth2/v2.1/revoke',
  107.   userinfo_endpoint: 'https://api.line.me/oauth2/v2.1/userinfo',
  108.   scopes_supported: [ 'openid', 'profile', 'email' ],
  109.   jwks_uri: 'https://api.line.me/oauth2/v2.1/certs',
  110.   response_types_supported: [ 'code' ],
  111.   subject_types_supported: [ 'pairwise' ],
  112.   id_token_signing_alg_values_supported: [ 'ES256' ],
  113.   code_challenge_methods_supported: [ 'S256' ]
  114. }
  115.  
  116. access token undefined
  117. AxiosError: Request failed with status code 401
  118.     at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:19:12)
  119.     at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:556:11)
  120.     at IncomingMessage.emit (node:events:525:35)
  121.     at endReadableNT (node:internal/streams/readable:1359:12)
  122.     at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  123. (...)
  124. }
  125.  
  126. ERROR [ExceptionsHandler] Request failed with status code 401
  127. AxiosError: Request failed with status code 401
  128.     at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:19:12)
  129.     at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:556:11)
  130.     at IncomingMessage.emit (node:events:525:35)
  131.     at endReadableNT (node:internal/streams/readable:1359:12)
  132.     at processTicksAndRejections (node:internal/process/task_queues:82:21)
Advertisement
Add Comment
Please, Sign In to add comment