Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Move all authentication to use the "fallback" method. #77

@DominicMaas

Description

@DominicMaas

There seems to be some issues when using chrome.identity.launchWebAuthFlow() with the popup box just not appearing. The fallback method creates a new tab, redirects to a blank page where we then collect the token. Works much faster and helps condense code.

It should be noted that users who are already logged in need to keep using the old client id otherwise refresh tokens will not work. New users can use the "fallback" client id. Perform some kind of check (like storing a variable on login in storage) that separates old and new users.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions