Closed tiritibambix closed 6 months ago
Hi @tiritibambix,
It seems like there might be a problem with session persistence. The authorization is cookie-based and might not work correctly when FQDN is not set. For security reasons, it won't set cookies without SSL configured. I might need to consider making this configurable.
Alternatively, you can set up an FQDN along with an automatically generated SSL certificate from Let's Encrypt. It is not that hard, to be honest.
Hello @andrii-kryvoviaz and thank you for your answer.
I just set up a subdomain with ssl certificat and changed ORIGIN
to that domain.
It is now working, so thank you.
I might need to consider making this configurable.
I'm not gonna lie, that would be a valuable option for my use case.
Anyway, thanks a lot for your work and help on this topic.
Hey there!
I just set up Slink on my server and I'm currently running it locally without a domain. Here's my docker-compose configuration:
I'm able to create an account, but unfortunately, I'm having trouble logging in. When I fill in the fields (by the way, the
username
field asks for an email address) and click sign in, I get redirected to the main page without actually being logged in.Here are the logs:
Any assistance you can provide would be greatly appreciated. Thank you!
PS: I tried
docker exec -it slink slink user:activate --email=<user-email>
despite settingSER_APPROVAL_REQUIRED=false
. It says that the account has been successful activated but I still can't login.