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
423 stars 232 forks source link

Feature Request - Adding OAuth Flow-Authorizetioon Code Grant #37

Closed mingqin1 closed 6 years ago

mingqin1 commented 6 years ago

Hi: Thanks for everyone's efforts and comments to help me to get this release running as OAuth2 implicit grant.

For application security concern, I would hope the team can release an example with demonstrating Oauth2 authorization code grant with OpenID connect for authentication , plus excluding attributes ( ClientId ,AppWebDomain,TokenScopesArray,RedirectUriSignIn, RedirectUriSignOut ) out of client side javascript as much as possible, for example , hiding them into lambda code for events such as sign in, sign out, registration , registration verification.

If the team knew such example already existed, please advise me in thread. Thanks again.

Ming Qin

mingqin1 commented 6 years ago

This issue should be closed, since pull 32 provided a solution. Thanks