Skip to content

Auth-core throws weird errors when used with edgedb deploys on my own server #1060

@Huliiiiii

Description

@Huliiiiii

Describe the bug
A clear and concise description of what the bug is.

Authentication failed: InvalidDataError: Missing query parameter: code
    at decodeError (D:\...\node_modules\@edgedb\auth-core\dist\utils.js:117:16)
    at requestGET (D:\...\node_modules\@edgedb\auth-core\dist\utils.js:47:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (D:/.../node_modules/edge-auth-solid-start/src/server/index.ts:293:27)    
    at async eval (D:/.../node_modules/@solidjs/start/dist/server/handler.js:38:23)        
    at async _callHandler (file:///D:/.../node_modules/h3/dist/index.mjs:1821:16)
    at async _callHandler (file:///D:/.../node_modules/h3/dist/index.mjs:1821:16)
    at async file:///D:/.../node_modules/h3/dist/index.mjs:1962:19
    at async Object.callAsync (file:///D:/.../node_modules/unctx/dist/index.mjs:72:16)     
    at async Server.toNodeHandle (file:///D:/.../node_modules/h3/dist/index.mjs:2249:7) 

QQ_1721620240738

QQ_1721620213733
Reproduction
Include the code that is causing the error:

// code here

Expected behavior
A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • OS: Windows 11 & Ubuntu 24.04 LTS
  • EdgeDB version (e.g. 2.0): 5.6+0d677a5
  • EdgeDB CLI version (e.g. 2.0):
  • edgedb-js version (e.g. 0.20.10;): 1.5.4
  • Node/Deno version:

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions