这是indexloc提供的服务,不要输入任何密码
Skip to content

Cleanup missing : Toggling between service worker & non-service worker  #1299

@pgangwani

Description

@pgangwani

Issue and Steps to Reproduce

Issues

  1. Whenever we switch from non-service worker to service worker for a production app in same configurationName, we should cleanup storage like storage.remove(oidc.${configurationName})
  2. On similar line if one switch from service worker to non-serviceworker , we should deregister the service worker with immediate effect and Let the storage be used for storing any token payloads etc

Versions

any verison in 7.x.x

Screenshots

Screenshot 2024-02-15 at 11 20 38 PM
Screenshot 2024-02-15 at 11 20 18 PM

Expected

Cleanup / Deregistration should happen if we switch between most secured of service worker and non service worker.

Actual

Either getting service worker not registering even after turning off the approch or getting storage having token payload forever.
Sometime it gets stuck with Loading screen for users.

Additional Details

We need to implement turn off & on for service worker approach

  • Installed packages:

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