amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

Support URL with Hash based routing #161

Open brachi-wernick opened 5 years ago

brachi-wernick commented 5 years ago

Issue https://github.com/aws/amazon-cognito-auth-js/issues/87

Description of changes:

parseCognitoWebResponse assumes tjat hashes are always stand for query parameters, and didn't take into considuration that this may be just hash based routing. add another paramter to indicate the difference.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.