Skip to content

WWSympa: New "cgi" authentication simply using credentials provided by HTTP server#1499

Merged
ikedas merged 1 commit into
sympa-community:sympa-6.2from
ikedas:issue-1497_ikedas
Nov 16, 2022
Merged

WWSympa: New "cgi" authentication simply using credentials provided by HTTP server#1499
ikedas merged 1 commit into
sympa-community:sympa-6.2from
ikedas:issue-1497_ikedas

Conversation

@ikedas

@ikedas ikedas commented Oct 18, 2022

Copy link
Copy Markdown
Member

By this PR. the new "cgi" paragraph(s) may be added in auth.conf:

cgi
    auth_scheme Basic
    remote_user_variable REMOTE_USER
    regexp @my[.]dom[.]ain
    negative_regexp evil@user[.]net

All parameters are optional.

  • remote_user_variable (default value is REMOTE_USER) is the name of CGI variable providing e-mail of the authenticated user.
  • If auth_scheme is specified, authentication is available only when the value of AUTH_TYPE CGI variable matches it.

This is a candidate of changes aim at fixing #1497.

@m0ppers

m0ppers commented Oct 19, 2022

Copy link
Copy Markdown

I tested it and it seems to work and solves my usecase 🥳

@salaun-urennes1

Copy link
Copy Markdown
Collaborator

I didn't test the code, but if seems to be aligned with our discussion on PR #1496 /sympa/pull/1496

@ikedas ikedas merged commit b38f970 into sympa-community:sympa-6.2 Nov 16, 2022
@ikedas ikedas deleted the issue-1497_ikedas branch November 16, 2022 00:38
@ikedas

ikedas commented Nov 16, 2022

Copy link
Copy Markdown
Member Author

Merged. @m0ppers & @salaun-urennes1 , thank you for input & confirmation!

saliyman

This comment was marked as abuse.

@ikedas ikedas linked an issue Feb 27, 2024 that may be closed by this pull request
@bilias

bilias commented Jul 4, 2024

Copy link
Copy Markdown

How do you trigger the authentication for b38f970 ?

Is there an action page for this or a login button?
I'm trying to test this with openid but it does not seem to work.

My apache setup is ok with mod_auth_openidc.
Client is authenticated on the apache apache side, but not on sympa

@ikedas

ikedas commented Jul 4, 2024

Copy link
Copy Markdown
Member Author

Hi @bilias ,
This issue has been closed. About the settings you want, please post new question to the mailing list or this issue page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WWSympa: Authentication mechanism that does not require login if the authentication module allows it OpenID Connect (OIDC) support

5 participants