getAlby / getAlby/lightning-browser-extension

[Feature] Handle OAuth flow differently when users try to connect a second account

Open
#2,909 0 comments 0 reactions 0 assignees View on GitHub
idea
Dominant language
TypeScript
Stars
585
Forks
228
Avg merge
6d 7h
Merged PRs (30d)
16

Description

### Feature description

Currently OAuth flows for Alby users are automatically approved. That makes it cumbersome for users to connect their wallet in multiple-account scenarios, since they have to first logout on getalby.com.

### Describe the solution

There are 2 possible solutions:
- Disable to auto-approval of the extension
- Pass a parameter to the OAuth flow and skip auto-approval (to give users a chance to logout during the flow)

### Describe alternatives

_No response_

### Additional context

_No response_

### Are you working on this?

None

Contributor guide

Open the contributing guide

Research direction

Start by tracing the extension's OAuth approval flow and how it handles connecting an account. Compare the two proposed approaches and confirm the intended behavior for a second account; done means users can reach the needed logout step without first logging out on getalby.com.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.