Join the Webstudio community

Updated 4 weeks ago

Troubleshooting GitHub and login issues

Why are my GitHub and secret not working i am unable to login
Attachment
IMG_1719.jpg
2
B
d
O
55 comments
Github and google does not work locally. For secret you need to add .env.development file with
Plain Text
AUTH_SECRET="0000"
or some other you like
it's anyway only for local setup
I do all the steps
Why does GitHub not work locally I even added gh_id and client id.
Not sure, there was a problem with localhost I think
All works fine
Attachments
IMG_1720.jpg
IMG_1721.jpg
After add secret
Attachment
IMG_1722.jpg
The error says redirect_uri configuration is missing
Did you successfully run migrations?
What terminal says?
Same brother
Attachment
IMG_1724.jpg
My guess is our setup just doesn't work without https
Migration fine
Attachment
IMG_1725.jpg
What I can do I need to run this πŸ₯Ή
If you don't change config this should work https://wstd.dev:5173/
After GitHub login and secret login this error occur
@Bogdan why user not found πŸ₯Ή
So I just recreated container. Checked login. Shows "user not found". Then I ran migrations from the root with
Plain Text
pnpm migrations migrate

Now all works
we don't use sso logins locally, only in the cloud
I do this step again and still same error
Anyone ?? Plz help
terminal say
code: '42501',
message: 'permission denied for schema public'
what i can do ? @Bogdan @Oleg Isonen @Hall
same this error 😦
Attachment
IMG_1726.png
Are you running inside devcontainer?
Did migrations finished or even executed
I using docker to run all this
What means using docker?
What was in the terminal of the devcontainer?
try to reexecute commands
clean and reinstall
can i delete all my docker images ? then reinstall
you mean this rigth
docker compose down -v then docker compose up -d ?
No, devcontainers and vscode doesnt use this
Just vscode and devcontainer exetension
Probably wsl on windows
I do this steps
Attachment
image.png
Use just vscode and devcontainers, have no idea why this docker compose etc is not deleted from docs
Ah, I'm having trouble with Docker again. It's not working as expected. @Bogdan mentioned that I might have an incorrect migration, but I've done all the migrations perfectly. Why isn't it working?
You mentioned not to follow this approach and instead use Step 1 from this guide for this approach.
docker section is removed
I am so confused now πŸ™‚
We removed the Docker insturctions from docs as Devcontainer/VScode is the only "suggested" way of doing things now and it should work on Mac
Can I deploy my own?
Deploying builder is rather complicated. Dev containers are intended for development and local testing.
Add a reply
Sign up and join the conversation on Discord