vercel / ai-chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
https://chat.vercel.ai
Other
5.6k stars 1.67k forks source link

Problems with initial deployment #234

Open hegelstad opened 5 months ago

hegelstad commented 5 months ago

Hi,

I'm struggling to get Auth working as a new user.

When I deploy from template, I don't know what to put under AUTH env variables.

After deploying, I follow a guide which points me to a Github OAUTH app. Later I understand I should use a Github App instead.

Now I am trying to understand, should I put the App ID or the Client ID? And do I use a Client Secret or a Private key?

After a lot of trying and failing, I am still unable to proceed. I feel like this should be easier.

hegelstad commented 5 months ago

Now I got it working in prod. Trying local next. First thing that meets me is an error. Doesn't seem like VERCEL_URL is prefilled after pulling the envs following the guide.

AshwinkumarPillai commented 5 months ago

@hegelstad Hey! Did you find any solutions? I am facing the same issues

hegelstad commented 5 months ago

@AshwinkumarPillai set up app here: https://github.com/settings/apps. recheck all env variables. set VERCEL_URL manually.

isaiah2004 commented 4 months ago

@hegelstad what feild is where also what do i put for the GITHUB_SECRET?