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

PAM Authentication not configurable #16639

Closed
2 of 6 tasks
truzzon opened this issue Aug 6, 2021 · 4 comments · Fixed by #16641
Closed
2 of 6 tasks

PAM Authentication not configurable #16639

truzzon opened this issue Aug 6, 2021 · 4 comments · Fixed by #16641
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@truzzon
Copy link

truzzon commented Aug 6, 2021

  • Gitea version (or commit ref): 1.14.6 (Noticed it on earlier versions as well!)
  • Git version: 2.20.1
  • Operating system: Debian 10
  • Database (use [x]): (irrelevant, saw it on different setups)
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes
    • No - Can't login to try.gitea.io via GitHub OAuth, will attach screenshot.
  • Log gist:

Description

The documentation (link) mentions, that is is possible to use PAM as an authentication provider. It is not possible to select PAM as a Provider in the Web GUI.
Furthermore there is no sign in the app.ini that I can configure it there.

If the feature was planned and scrapped halfway through, this part should be removed from the docs. I'd love to use this feature, so if it would be implemented at a later point in time I'd appreciate it.

If this feature is available, the documentation should be updated as well to further describe, how to correctly configure it.

In the mean time I'll update my instance to the latest release and update the issue accordingly.

Screenshots

gitea_auth_providers

@truzzon
Copy link
Author

truzzon commented Aug 6, 2021

Updated my instance.
Problem still persists.

@zeripath
Copy link
Contributor

zeripath commented Aug 6, 2021

AFIAU PAM cannot be built statically therefore we do not provide it within the binaries you can download.

You need to build gitea yourself with the pam tag in addition to your normal build tags.

See https://docs.gitea.io/en-us/install-from-source/#build

@zeripath zeripath added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Aug 6, 2021
@truzzon
Copy link
Author

truzzon commented Aug 6, 2021

Hello @zeripath,

thanks for your response.

This should definitely be made more clear in the documentation article (link). If someone is not installing it from source like me, he won't come across this step and wonders, why it is not working.

Is it possible to put it on the agenda?

Kind Regards

truzzon

@zeripath
Copy link
Contributor

zeripath commented Aug 6, 2021

Please feel free to send a PR improve the documentation on this.

techknowlogick added a commit to techknowlogick/gitea that referenced this issue Aug 6, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants