-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't login with an error #94
Comments
hey @neroti9n, are you using HTTPS? |
Not yet...maybe this is the crux of the problem...so i can't use it through NOT HTTPS? |
in general you should be able not to use HTTPS, but I missed the fact that Cache API is not available in non-secure contexts. I'll prepare patch release with a fix right now |
thanks~ |
i have updated to the newest image, it didn' t show last error, but api returned http errorcode 401 Unauthorized |
I'll later setup env without HTTPS to debug this |
@neroti9n can you try adding environmental variable version: '3'
services:
orpington-news:
image: ghcr.io/frysztak/orpington-news-api:latest
container_name: orpington-news
environment:
- APP_URL=https://news.my.domain # please change to your actual domain
- DB_HOST=orpington-news-postgres
- DB_PASS=dbpass # same pass like `POSTGRES_PASSWORD` below
- COOKIE_SECRET=<generate unique cookie secret, for details see README>
- DISABLE_SECURE_COOKIE=true
# ^^ that's the line
networks:
- orpington-news
restart: always
orpington-news-postgres:
image: postgres:14-alpine
container_name: orpington-news-postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=dbpass
volumes:
- <local directory>:/var/lib/postgresql/data
networks:
- orpington-news
restart: always
networks:
orpington-news: |
I logged in my account successfully, thank u very much~ |
glad it worked 🎊. sorry it took so much effort - I kind of assumed everyone will use HTTPS from the start. I'll try to add a note in readme about it and thanks for the tips! some kind of Favourites folder is on my TODO list from the very beginning. I'm curious about the third one - can you share your phone model and browser? |
iphone12 & safari...other browsers seem like also have the same problem I find another pagination problem, when I scroll down to the bottom in the collection list, the upper items will become the same and can't be recovered |
because of Apple policy all browsers on iOS use WebKit truth be told, I haven't done any testing on iOS devices because I don't own any. but I'll try to line something up. many thanks for the feedback, I really appreciate it |
As a web developer, too, I don't even know the security policy different between https and http without google search, and browsers on ios all use Webkit...lol..learned~ What's the brand of your phone? Samsung or Xiaomi or Sony or ...I'm just curious whether our country's brand have a good sale in your place^^ |
@neroti9n I use a Motorola. |
hello, i get an error when i was logining
The text was updated successfully, but these errors were encountered: