aws-amplify / aws-amplify/amplify-ui
FR (Authenticator): Support global sign-out
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 347
- Avg merge
- 18h 29m
- Merged PRs (30d)
- 9
Description
**Is your feature request related to a problem? Please describe.**
UI components don't allow for passing in arguments to the `Auth.signIn` and `Auth.signOut` calls:
- https://docs.amplify.aws/lib/auth/emailpassword/q/platform/js#sign-up
- https://docs.amplify.aws/lib/auth/emailpassword/q/platform/js#sign-in
- https://docs.amplify.aws/lib/auth/emailpassword/q/platform/js#global-sign-out
**Describe the solution you'd like**
Investigate declarative solutions, similar to https://github.com/aws-amplify/amplify-js/pull/5443 & https://github.com/aws-amplify/amplify-js/pull/4185:
```js
```
**Describe alternatives you've considered**
Calling `Auth.signOut({ global: true })`, but it's not declarative.
**Additional context**
If https://github.com/aws-amplify/amplify-js/pull/4185 is merged, then `@aws-amplify/ui-angular` lacks parity.
Contributor guide
Research direction
Start by reviewing the UI components that call Auth.signIn and Auth.signOut, then compare the declarative approaches in linked pull requests 5443 and 4185. Done means providing an Angular-compatible declarative option for global sign-out, such as the proposed amplify-sign-out global usage, with parity for the documented Auth.signOut({ global: true }) behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, aws, typescript
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100