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

Disable password confirmation when using SSO (reverse proxy) authentication #2342

Closed
3 of 7 tasks
kuklinistvan opened this issue Aug 20, 2017 · 3 comments
Closed
3 of 7 tasks
Labels
issue/duplicate The issue has already been reported.

Comments

@kuklinistvan
Copy link

  • Gitea version (or commit ref):
  • Git version: 1.1.3
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: (?)

Description

I've set up a Gitea instance and configured it to authenticate users against mod_auth_kerb with these options to provide SSO service:

REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER
ENABLE_REVERSE_PROXY_AUTHENTICATION    = true
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true

In apache vhosts configuration:

...
        RequestHeader set X-WEBAUTH-USER expr=%{REMOTE_USER}
...

Now, as expected, I cannot use any functions that require password confirmation as my Gitea instance is not prepared to be aware of using this external authentication source. A solution would be to disable password confirmation, I guess. (had a similar issue with NextCloud)

Screenshots

Password confirmation

@kuklinistvan kuklinistvan changed the title Disable password confirmation when using SSO authentication Disable password confirmation when using SSO (reverse proxy) authentication Aug 20, 2017
@strk
Copy link
Member

strk commented Aug 20, 2017 via email

@strk
Copy link
Member

strk commented Aug 20, 2017

#1036 is the previous discussion ticket

@lafriks lafriks added the issue/duplicate The issue has already been reported. label Aug 20, 2017
@lafriks
Copy link
Member

lafriks commented Aug 20, 2017

Closing as duplicate for #1036

@lafriks lafriks closed this as completed Aug 20, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

3 participants