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

Feature request: support auth.proxy config option #40

Closed
linuxmail opened this issue Mar 31, 2017 · 4 comments
Closed

Feature request: support auth.proxy config option #40

linuxmail opened this issue Mar 31, 2017 · 4 comments

Comments

@linuxmail
Copy link

Hello,

it would be great, if it is possible to activate the auth.proxy config option, for SSO/CAS requirements.:

[auth.proxy]
enabled = true
header_name = X-WEBAUTH-USER
header_property = username
auto_sign_up = true

or

[auth.proxy]
enabled = true
header_name = X-WEBAUTH-USER
header_property = email
auto_sign_up = true

which requires:

[users]
allow_sign_up = true
auto_assign_org = true
auto_assign_org_role = Editor
@dhoppe
Copy link
Member

dhoppe commented Apr 2, 2017

@linuxmail This module already supports the configuration above. You just need to provide the correct values to the cfg hash.

@dhoppe
Copy link
Member

dhoppe commented Mar 26, 2019

@linuxmail Did you solve your problem or do you have further questions?

@dhoppe
Copy link
Member

dhoppe commented Mar 27, 2019

The following code is just working fine:

class { 'grafana':
  cfg => {
    users        => {
      allow_sign_up        => true,
      auto_assign_org      => true,
      auto_assign_org_role => 'Editor',
    },
    'auth.proxy' => {
      enabled         => true,
      header_name     => 'X-WEBAUTH-USER',
      header_property => 'username',
      auto_sign_up    => true,
    },
  },
}

@dhoppe dhoppe closed this as completed Mar 27, 2019
@SHMarcoG
Copy link

Hi,
Do you know if this is also possible in Hiera?

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

3 participants