Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Update CAS from v1.1.0 to 1.1.1 #7

Merged
merged 6 commits into from
Apr 28, 2020
Merged

Update CAS from v1.1.0 to 1.1.1 #7

merged 6 commits into from
Apr 28, 2020

Conversation

dezande
Copy link

@dezande dezande commented Apr 14, 2020

I need the fetch_raw_info for read attributes types list (see dlindahl#47).
This feature is available in the project dlindahl/omniauth-cas master. I am merging this in this branch.

@dezande dezande self-assigned this Apr 14, 2020
Copy link

@giniouxe giniouxe left a comment

Choose a reason for hiding this comment

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

The tests fail 🙂

@dezande
Copy link
Author

dezande commented Apr 15, 2020

@giniouxe There are not circle CI configured. I don't know if we need for this project because we don't update every month.
Do you want to add a circle CI config?

@yannvery
Copy link

That's a lot of work to maintain the diff between this fork and the original repo.
I'm wondering if it's not the right time to stop it and going back to the official omniauth-cas repository.
What do you think @dezande?

@sebn
Copy link

sebn commented Apr 17, 2020

What was the original reason for forking? (I'm not sure by looking at the commits)

@sebn
Copy link

sebn commented Apr 20, 2020

What was the original reason for forking?

Quoting @dezande (more or less):

The reason was the lack of SAML support. We could possibly get rid of the fork by handling it in the CAS strategy.

lucaspiller and others added 6 commits April 24, 2020 10:50
Forwards the XML response received from CASAuth to the fetch_raw_info
callback, which now accepts five arguments (cas, options, ticket, user
info, and the raw response). Developers who override fetch_raw_info with
a Proc are unaffected -- the new argument is silently discarded -- but
developers who use a Lambda will need to update their code.
Requires updating webmock; see: bblimke/webmock#683
@dezande
Copy link
Author

dezande commented Apr 24, 2020

@giniouxe Test run well now

@dezande dezande requested a review from yannvery April 24, 2020 10:01
@dezande
Copy link
Author

dezande commented Apr 24, 2020

I test with

  • ensma (cas saml). Problem with OmniAuth::module Strategies::CAS#fetch_raw_info line 223. Fixed with a get in saml_ticket_validator.
  • usc (cas v2). No problem detected
  • upm (cas v3). No problem detected

@dezande dezande merged commit 9aa4c4f into master Apr 28, 2020
@dezande dezande deleted the update-cas branch April 28, 2020 08:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants