ViewTube / viewtube

▶️ ViewTube: The open source, privacy-conscious way to enjoy your favorite YouTube content. Docs: https://viewtube.wiki, Status: https://uptime.viewtube.io
https://viewtube.io
GNU Affero General Public License v3.0
1.31k stars 75 forks source link

Login doesn't do anything #1114

Closed 12nick12 closed 2 years ago

12nick12 commented 2 years ago

Describe the Bug

I create an account and it's there since I can't sign up again with the same username.

Steps to Reproduce the Bug

When I go to log in it says I'm logged in, but nothing happens.

Device Info

Additional Context

moisout commented 2 years ago

Hi, i can't reproduce this. Can you maybe send me a private email (viewtube@m-o.dev) with your username, so i can check it out?

12nick12 commented 2 years ago

This is on my own instance, not your dev instance.

moisout commented 2 years ago

Ah, i see. Are you connecting to it using an ip or a domain?

brasilikum commented 2 years ago

Seem to have the same issue. I am hosting it on a domain. API URL is set

I checked the network:

brasilikum commented 2 years ago

I think I know why:

Authentication=xxx; HttpOnly=true; Path=/; Secure=true; Domain=localhost; Max-Age=43200

Cookie domain is not set correctly. This should probably default to URL, no?

moisout commented 2 years ago

Ah, this should be fixed in v0.9. Please beware the environment variables have changed. They are documented in the installation wiki, you can remove the unmentioned ones from your setup.

https://github.com/ViewTube/viewtube-vue/wiki/Installation#environment-variables

brasilikum commented 2 years ago

I just tested with 0.9. It's still broken

moisout commented 2 years ago

Could you maybe post your docker-compose/docker run, so i could reproduce it?

12nick12 commented 2 years ago

I just used the example docker-compose from https://github.com/ViewTube/viewtube-vue/wiki/Installation#environment-variables and it is working. Thank you.