Giter VIP home page Giter VIP logo

Comments (8)

haishanh avatar haishanh commented on May 18, 2024 1

Thanks a lot for helping answer it! @Tataukee @tiritibambix

from cherry.

tiritibambix avatar tiritibambix commented on May 18, 2024

Use a reverse proxy with ssl or use the variable USE_INSECURE_COOKIE
Edit: i believe you need to use 0.0.4 for this to work

from cherry.

Tataukee avatar Tataukee commented on May 18, 2024

USE_INSECURE_COOKIE = true ?

from cherry.

tiritibambix avatar tiritibambix commented on May 18, 2024

https://cherry.haishan.me/docs/deploy#environment-variables

from cherry.

Tataukee avatar Tataukee commented on May 18, 2024

Thanks a lot @tiritibambix and @YEDEDD for posting the same issue i was experiencing
I confirm the login is successful after adding the variable :
USE_INSECURE_COOKIE = 1

from cherry.

YEDEDD avatar YEDEDD commented on May 18, 2024

@haishanh @Tataukee @tiritibambix Thank you for your answers. I tried to add the environment variable "USE_INSECURE_COOKIE = 1" but still did not respond and cleaned up the browser cache.
docker-compose file:

version: '3'

services:
  cherry:
    image: haishanh/cherry
    container_name: cherry
    restart: unless-stopped
    ports:
      - 5151:8000
    volumes:
      - /data/cherry/data:/data
    environment:
      - JWT_SECRET=some-some-secret-string
      - USE_INSECURE_COOKIE = 1

from cherry.

tiritibambix avatar tiritibambix commented on May 18, 2024

USE_INSECURE_COOKIE=1
No space

from cherry.

YEDEDD avatar YEDEDD commented on May 18, 2024

Thank you, all of you. It's all right. The environment variable "USE_INSECURE_COOKIE = 1" caused by my carelessness needs to be removed!

from cherry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.