amplify-js icon indicating copy to clipboard operation
amplify-js copied to clipboard

FR: Auth components don't support scopes

Open Purii opened this issue 5 years ago • 17 comments

Is your feature request related to a problem? Please describe. I'm using the provided react components to build the auth flow (@aws-amplify/ui-react). Unfortunately there doesn't seem to be any possibility to request a scope on authentication. So it's currently impossible to use this library for proper authentication.

Similar issues (closed without any reason): aws-amplify/amplify-js#3732 aws-amplify/amplify-js#1370. -> That issue already exists for years now

Describe the solution you'd like Hosted-UI supports this. But that is not an option for us. Would be great to pass the same configuration to the react components.

scope: ["email", "profile", "openid", "weather:read"],

Describe alternatives you've considered Unfortunately I don't see any alternative solution possible with amplify-js.

-> I would really like to use this lib as it saves a ton of work. Thanks for that! Hope you can provide that feature (fix that bug ;)) soon 👍

Purii avatar May 06 '20 17:05 Purii