wooha. With some caveats, the sign up flow where authentication with the primary is working.
* Use WinChan to open a new window to the primary. * Add the idp_auth_complete page for the IdP to redirect back to. * When the window closes, re-try to authenticate the user with the primary. * Add a helper to show an error message. * Add a WinChan mock. * Update unit tests to handle the "need to authenticate with IdP" scenario. * Update compression scripts for WinChan to be included on the main site.
Showing
- lib/browserid/views.js 7 additions, 0 deletionslib/browserid/views.js
- resources/static/pages/page_helpers.js 19 additions, 6 deletionsresources/static/pages/page_helpers.js
- resources/static/pages/signup.js 73 additions, 44 deletionsresources/static/pages/signup.js
- resources/static/shared/error-messages.js 6 additions, 1 deletionresources/static/shared/error-messages.js
- resources/static/shared/helpers.js 27 additions, 1 deletionresources/static/shared/helpers.js
- resources/static/test/index.html 1 addition, 0 deletionsresources/static/test/index.html
- resources/static/test/qunit/mocks/winchan.js 51 additions, 0 deletionsresources/static/test/qunit/mocks/winchan.js
- resources/static/test/qunit/pages/page_helpers_unit_test.js 9 additions, 1 deletionresources/static/test/qunit/pages/page_helpers_unit_test.js
- resources/static/test/qunit/pages/signup_unit_test.js 32 additions, 7 deletionsresources/static/test/qunit/pages/signup_unit_test.js
- resources/static/test/qunit/shared/helpers_unit_test.js 15 additions, 0 deletionsresources/static/test/qunit/shared/helpers_unit_test.js
- resources/views/idp_auth_complete.ejs 9 additions, 0 deletionsresources/views/idp_auth_complete.ejs
- resources/views/layout.ejs 1 addition, 0 deletionsresources/views/layout.ejs
- resources/views/signup.ejs 1 addition, 1 deletionresources/views/signup.ejs
- scripts/compress.sh 1 addition, 1 deletionscripts/compress.sh
Loading
Please register or sign in to comment