Skip to content

[Bug] Header Variable authentication does not work #1251

Closed
@crackytsi

Description

@crackytsi

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) 10
TheHive version / git hash 4 RC1
Package Type DEB

Problem Description

Header Variable Authentication does not work as Expected.
My Auth-Config is:

auth {
  providers = [
    {name: session}
    {name: header, userHeader:THEHIVE_USER}
    {name: key}
    {name: local}
  ]
}

I can not see any error message or the authenticated user.
Actually my reverse proxy are the same as in TheHive , there I just had an entry like this:
header.name = THEHIVE_USER

The username is lowercased.

Steps to Reproduce

  1. Configure header variable authentication
  2. Try to authenticate using the header

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions