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

Fix microsoft live The access token isn't valid error #1010

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update popup.ts
vood authored Oct 28, 2016
commit b8b227bbcd8cb3730e70498eab67a1fa17763e4d
2 changes: 1 addition & 1 deletion src/popup.ts
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ export default class Popup implements IPopup {
if (popupWindowPath === redirectUriPath) {
if (this.popup.location.search || this.popup.location.hash) {
const query = parseQueryString(this.popup.location.search.substring(1).replace(/\/$/, ''));
const hash = parseQueryString(this.popup.location.hash.substring(1).replace(/[\/$]/, ''));
const hash = parseQueryString(this.popup.location.hash.substring(1);
const params = angular.extend({}, query, hash);

if (params.error) {