-
Notifications
You must be signed in to change notification settings - Fork 562
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
Update the googleapps IDP provider to work with changes to Google log… #1285
Conversation
Awesome PR, but it seems I am still unable to login with the following error:
|
Thanks for testing @edwardrf can you run the command with DUMP_CONTENT=true and --verbose flag and give me the results? Specifically the results page of |
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1285 +/- ##
==========================================
+ Coverage 42.08% 42.19% +0.11%
==========================================
Files 54 54
Lines 6442 6456 +14
==========================================
+ Hits 2711 2724 +13
+ Misses 3288 3283 -5
- Partials 443 449 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aaronthebaron is this ready for review?
Also, lots of changes here - do you reckon we should cover some of the missing lines with tests?
@aaronthebaron |
…in page while maintaining gaialogin compatibility
Yes, this is ready for review. Of all the lines I've added, most of them are under existing testing. I've added a test and modified another test to cover the two main changes. There are so many paths possible in this provider that I don't have access to, but current this is passing regression. More paths will be breaking that I won't be able to fix and should probably be handed in another pull reqest. |
@edwardrf Thank you for providing the output. Unfortunately you are entering a part of the flow that handles multiple challenge possibilities (TOTP, U2F, etc) and that page has completely changed. Originally it must've been a form with multiple actions but now looks to be divs with different annotations. I think a lot more work will need to happen to get this page working again and I'm not sure I can spend more time on it. The code for that page can be found here. A quick fix for you personally might be to remove some possible authentication methods. Sorry I can't do more at this time. |
…in page while maintaining gaialogin compatibility
Attempting to fix the issues with the GoogleApps IdP provider noted in the issue #1259
The google login system has changed for most but not all users causing this provider to no longer work for a majority of our in house users.
I have tested this with the new pages, in a configuration requiring 2-factor authentication with a phone app. I have not been able to regression test this with the current login, but I have tried to keep that legacy flow intact with my changes. I have also not been able to test each challenge but I have modified the challenges in a way that I hope to be backwards compatible.