rokwire / rokwire/app-flutter-plugin
[BUG] Do not require anonymous authentication
@roberlander2 is already working on this.
Since Mar 6, 2023.
- Dominant language
- Dart
- Stars
- 3
- Forks
- 4
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
Describe the bug
Currently when the Auth2 service is initialized, it automatically attempts to authenticate anonymously and throws an error if it is unable to do so. Some applications will not support anonymous auth and will require the user to login as the first step.
To Reproduce
Steps to reproduce the behavior:
- Set up app/org in Core BB that does not support anonymous auth
- Run applicaiton that uses plugin Auth2 service
- See error
Expected behavior
The plugin should either not attempt to use anonymous auth automatically, leaving this up to the application to manage, or should provide some configurations to determine whether or not the application does support anonymous auth.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.