SuperAGI icon indicating copy to clipboard operation
SuperAGI copied to clipboard

Error on login with github, ENV variables is not set in GUI container

Open crazynds opened this issue 2 years ago • 3 comments

Hello, I was trying to up a clean instalation in PROD mode in my server but I'm getting a error when I try to login with github.

When I click in the github icon the page redirect me to:

https://github.com/login/oauth/authorize?scope=user:email&client_id=undefined

This link redirect me to 404 of github website.

I was reading the code and I notice the process.env in gui container is empty. The follow line return undefined and this is placed in the url.

export const githubClientId = () => {
  return GITHUB_CLIENT_ID;
};

I can't find where the env variables were set and no .env should be created.

crazynds avatar Jun 24 '23 18:06 crazynds

@Tdmain what you said makes no sense, has no context, and does nothing to help this issue.

I don't know where the correlation is between the env variables not defined in the frontend and scooping the id of somewhere.

crazynds avatar Jun 25 '23 02:06 crazynds

Having the same issues, Had the same issues with the first release too

Techfluent-au avatar Jun 26 '23 07:06 Techfluent-au

@crazynds @Techfluent-au Thanks for reporting.

Please join our discord community https://discord.gg/VzFXWu2q Let's discuss what you are trying to setup in discord.

eqxwow avatar Jun 26 '23 11:06 eqxwow