Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • happyDomain happyDomain
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • happyDomain
  • happyDomainhappyDomain
  • Issues
  • #3

Closed
Open
Created Jun 28, 2021 by Sam Edwards@dotsam

NO_AUTH trial mode doesn't work without further config

I just tried to use your NO_AUTH "trial" mode, both through your docker image, and through the nightly binary, but could not get either to work.

Looking closer, the issue was because you are setting the session cookie to Secure by default unless a local asset dev proxy is in use, and of course the server isn't doing HTTPs. The cookie then doesn't get saved, and the application cannot be accessed.

Either instructions should be included that the application has to be run through an HTTPS proxy, or the Secure flag shouldn't be set in NO_AUTH mode.

Relevant code: https://framagit.org/happyDNS/happydns/-/blob/fb7278982115fdcf089ca75d18617cbf7956680a/api/user_auth.go#L138

Assignee
Assign to
Time tracking