Skip to content
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

HSC-1032 - Allow user to cancel VCS OAuth step in add-app #688

Merged
merged 3 commits into from
Sep 16, 2016

Conversation

ongk
Copy link
Contributor

@ongk ongk commented Sep 14, 2016

In the select source step, when the user clicks next, we open a new tab to do the OAuth flow. However, something might go wrong where we aren't able to detect the issue in the proxy (callback is not called). For example, if the user specifies and invalid Github client ID, this results in a 404 page in Github. In this case, we want the user to be able to cancel out instead of being stuck at that step.

Depends on: https://github.com/hpcloud/helion-ui-framework/pull/143

Added on top of: https://github.com/hpcloud/stratos-ui/pull/651

@@ -19,8 +20,8 @@
* @param {object} $q - angular $q service
* @param {GITHUB_ENDPOINTS} GITHUB_ENDPOINTS - the public Github Endpoints
Copy link
Contributor

Choose a reason for hiding this comment

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

@param for eventService?

@sean-sq-chen
Copy link
Contributor

LGTM with a nit on ngdoc.

@ongk ongk force-pushed the 1032-make-next-cancellable branch from 9837ec4 to 5b62162 Compare September 16, 2016 16:33
@sean-sq-chen sean-sq-chen merged commit 52a4e73 into master Sep 16, 2016
@sean-sq-chen sean-sq-chen deleted the 1032-make-next-cancellable branch September 16, 2016 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants