Skip to content

Access passord not accepted #11

@tvidvei

Description

@tvidvei

I have installed GitBase on Vercel according to your instructions in gitbase-install-guide.md. After som fiddling, I got the page up an running here: test-gitbase.vercell.app. But when I try to log in to the GitBase, I'm denied access with a message about wrong password. I have checked the ACCESS_PASSWORD value both in .env.local and in the deployment configuration, and of course also checked the entered password without finding any differences. Any idea on what's wrong?

Here is an excerpt from the server logg:

Error: secretOrPrivateKey must have a value
at e.exports [as sign] (/var/task/.next/server/chunks/482.js:1:7412)
at s (/var/task/.next/server/app/api/check-auth/route.js:1:1514)
at p (/var/task/.next/server/app/api/login/route.js:1:873)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:36258
at async eR.execute (/var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:26874)
at async eR.handle (/var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:37512)
at async es (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:16:25465)
at async en.responseCache.get.routeKind (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:1026)
at async r6.renderToResponseWithComponentsImpl (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:508)

I'm completely new to these technologies, so I feel a bit stuck here.

Regards,
Tor Vidvei

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions