refly-ai / refly-ai/refly

how to setup cookie if access refly with domain

Open
#640 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
729
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the nginx.conf changes and the API/web environment settings listed in the issue, especially the cookie, redirect, and endpoint variables. Reproduce the login flow with the three domains and inspect why /convas is unavailable after login. Done means the documented configuration allows access to /convas after authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.