rokwire / rokwire/app-flutter-plugin

[BUG] Do not require anonymous authentication

Open
#262 0 comments 0 reactions 1 assignee View on GitHub

@roberlander2 is already working on this.

Since Mar 6, 2023.

bug
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:

  1. Set up app/org in Core BB that does not support anonymous auth
  2. Run applicaiton that uses plugin Auth2 service
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.