Skip to content

Add OmniAuth 2 compatibility #62

@tagliala

Description

@tagliala

Breaking changes:

rspec ./spec/omniauth/strategies/cas_spec.rb[1:3:1:1:1] # OmniAuth::Strategies::CAS GET /auth/cas with a referer behaves like a CAS redirect response is expected to be redirect
rspec ./spec/omniauth/strategies/cas_spec.rb[1:3:1:1:2] # OmniAuth::Strategies::CAS GET /auth/cas with a referer behaves like a CAS redirect response redirects to the CAS server
rspec ./spec/omniauth/strategies/cas_spec.rb[1:3:2:1:1] # OmniAuth::Strategies::CAS GET /auth/cas with an explicit return URL behaves like a CAS redirect response is expected to be redirect
rspec ./spec/omniauth/strategies/cas_spec.rb[1:3:2:1:2] # OmniAuth::Strategies::CAS GET /auth/cas with an explicit return URL behaves like a CAS redirect response redirects to the CAS server
rspec ./spec/omniauth/strategies/cas_spec.rb[1:4:3:1:1:3:4:1] # OmniAuth::Strategies::CAS GET /auth/cas/callback with a valid ticket with JASIG flavored XML behaves like successful_validation request.env['omniauth.auth'] the info hash includes user info attributes
rspec ./spec/omniauth/strategies/cas_spec.rb[1:4:3:2:1:3:4:1] # OmniAuth::Strategies::CAS GET /auth/cas/callback with a valid ticket with classic XML behaves like successful_validation request.env['omniauth.auth'] the info hash includes user info attributes
  • Backward compatibility
  • Keep testing OmniAuth 1 with GET

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions