openwisp / openwisp/docker-openwisp

sub-sub domain does not work with auto install as does .local

Open
#416 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
209
Forks
125
Avg merge
1d 4h
Merged PRs (30d)
24

Description

When using the auto install script, if you use a sub-sub domain (i.e. dashboard.sub.domain.com). When doing this, the auto install script doesn't allow login in due to the cookies not being maintained/not working. There is no error, it simply redirects the user back from the login screen to the login screen.

When using a .local with a standard sub domain domain (i.e. dashboard.domain.local), there is an error that the domain needs added to the allowed host list.

It is not clear that any of this is an issue during install and it requires much digging to understand this.

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 auto install script and follow how it configures host and cookie settings for subdomains. Reproduce the login loop on a sub-subdomain and the allowed-host error on a .local domain; done means both setups either permit login or clearly report the required configuration.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.