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

Make mod-auth-mellon (SAML!) work for logins #2740

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Conversation

hmpf
Copy link
Contributor

@hmpf hmpf commented Nov 15, 2023

This piggy-backs on the remote user functionality.

@hmpf
Copy link
Contributor Author

hmpf commented Nov 15, 2023

Turns out, mod-auth-mellon behaves differently on logout from mod-auth-openidc, looks like more config is needed.

@hmpf hmpf changed the title Make mod-auth-mellon work for logins Make mod-auth-mellon (SAML!) work for logins Nov 15, 2023
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (74a9c23) 55.61% compared to head (bd6ebea) 55.62%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2740   +/-   ##
=======================================
  Coverage   55.61%   55.62%           
=======================================
  Files         567      567           
  Lines       41247    41253    +6     
=======================================
+ Hits        22941    22947    +6     
  Misses      18306    18306           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 15, 2023

Test results

     12 files       12 suites   11m 30s ⏱️
3 280 tests 3 280 ✔️ 0 💤 0
9 315 runs  9 315 ✔️ 0 💤 0

Results for commit bd6ebea.

♻️ This comment has been updated with latest results.

@hmpf hmpf marked this pull request as ready for review November 15, 2023 13:43
@hmpf hmpf self-assigned this Nov 16, 2023
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@lunkwill42 lunkwill42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat and tidy. I have a question about the docs, but it's no showstopper.

Comment on lines +21 to +34
This should create the following files::

/etc/apache2/mods-available/auth_mellon.conf
/etc/apache2/mods-available/auth_mellon.load
/etc/apache2/mods-enabled/auth_mellon.conf
/etc/apache2/mods-enabled/auth_mellon.load

Enable with::

$ sudo a2enmod auth_mellon

Disable with::

$ sudo a2dismod auth_mellon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If if creates files in /etc/apache2/mods-enabled on installation, then it's already enabled. Is this really the default behavior?

@hmpf hmpf merged commit c29ae09 into Uninett:master Dec 14, 2023
13 checks passed
@hmpf hmpf deleted the saml-user branch February 22, 2024 09:04
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

Successfully merging this pull request may close these issues.

2 participants