Skip to content

Configuration is cached between authorize calls #332

@mklekowski

Description

@mklekowski

Issue

When calling authorize method with different configuration, on the second time the configuration is taken from the first call - it is cached after first call.

The problem exist in version v4.4.0, but not in v4.3.1. I believe that the issue was introduced in this commit:
44a47c5

The mServiceConfiguration is taken instead of serviceConfiguration, which is ok for the first time or for using prefetching, and the field is not cleared when closing the chrome tab.

Steps to reproduce:

  1. call authorize with issuer X
  2. do not log in, just close the tab
  3. call authorize with issuer Y

Result: tab is opened with issuer X
Expected result: tab is opened with issuer Y


Environment

  • Your Identity Provider: my own
  • Platform that you're experiencing the issue on: Android
  • Are you using Expo?: no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions