FR: Auth components don't support scopes
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 👍