authgear / authgear/authgear-server

[Login] Alternatives separator always visible for authentication steps that allow recovery code

Open
#2,836 0 comments 0 reactions 0 assignees View on GitHub
area/authui ui/must
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

## Description

Alternatives separator is always visible on authentication steps that allow recovery code as alternative

## Steps

1. Setup only one login method that allows recovery code
2. Trigger login to Authgear
3. Choose authentication method with recovery code setup

## Expected result

Alternatives section should be hidden since there are actually not other login methods

## Screenshot

![Screen Shot 2023-01-30 at 15 07 24](https://uploads.linear.app/860e83ae-05f0-4c4b-bd93-8a4b8d251836/cd5d19ef-eefc-4fdb-91ad-16890ae474e6/a9871cd9-a4dc-451c-bc2a-92b0dabb1f98?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzg2MGU4M2FlLTA1ZjAtNGM0Yi1iZDkzLThhNGI4ZDI1MTgzNi9jZDVkMTllZi1lZWZjLTRmZGItOTFhZC0xNjg5MGFlNDc0ZTYvYTk4NzFjZDktYTRkYy00NTFjLWJjMmEtOTJiMGRhYmIxZjk4IiwiaWF0IjoxNzA5MjAyOTE4LCJleHAiOjMzMjc5NzYyOTE4fQ.oqXFQAItX-krqwsO_W8QW1WbWj7kVTXHrjC_urFT2M4)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Reproduce the login flow with only one recovery-code-capable method, then locate the authentication-step UI that renders the alternatives separator; done means the alternatives section is hidden when no other login methods exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.