Skip to content
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

how to setup cookie if access refly with domain #640

Open
Winson-030 opened this issue Mar 23, 2025 · 1 comment
Open

how to setup cookie if access refly with domain #640

Winson-030 opened this issue Mar 23, 2025 · 1 comment

Comments

@Winson-030
Copy link

I prepare 3 domain for refly:

  • refly.example.com
  • reflyapi.example.com
  • reflyws.example.com

environments configuration:
api:

remove the /api and /collab location in the nginx.conf file

How to setup below environemnts?

  • AUTH_SKIP_VERIFICATION: ${AUTH_SKIP_VERIFICATION:-false}
  • REFLY_COOKIE_DOMAIN: ${REFLY_COOKIE_DOMAIN:-refly.example.com}
  • REFLY_COOKIE_SECURE: ${REFLY_COOKIE_SECURE:-true}
  • REFLY_COOKIE_SAME_SITE: ${REFLY_COOKIE_SAME_SITE:-}
  • LOGIN_REDIRECT_URL: ${LOGIN_REDIRECT_URL:-}

The current issue is the refly failed to access the /convas after login.
Please kindly advice, thanks.

@Winson-030
Copy link
Author

The correct config:

AUTH_SKIP_VERIFICATION: ${AUTH_SKIP_VERIFICATION:-false}
REFLY_COOKIE_DOMAIN: ${REFLY_COOKIE_DOMAIN:-.example.com}
REFLY_COOKIE_SECURE: ${REFLY_COOKIE_SECURE:-true}
REFLY_COOKIE_SAME_SITE: ${REFLY_COOKIE_SAME_SITE:-strict}
LOGIN_REDIRECT_URL: ${LOGIN_REDIRECT_URL:-}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant