Closed 3zcurdia closed 1 year ago
This would also close https://github.com/Sage/omniauth-cognito-idp/issues/8
We are experiencing the same problem and currently have to use this patch directly. Is there someone who can review this PR and potentially release it as a new version?
Closing this issue, because it seems like an abandoned project
This PR aims to resolve an integration issue between your gem and OmniAuth 2 within the Devise ecosystem. The current problem arises from the strategy name not being properly normalized, resulting in conflicts that skip the middleware. Additionally, there is an issue with the
on_auth_path?
method from the OmniAuth strategy not matching under Devise configurations. Let's delve into these points in more detail for improved clarity and readability._
), resulting in callbacks and methods expecting "cognito_idp".To address this issue, the proposed solution involves renaming the strategy to match the expected methods from Devise's OmniAuth callbacks controller.