element-hq / element-hq/element-android

'Registration is disabled' error stops OIDC registrations

Open
#7,977 0 comments 1 reaction 0 assignees View on GitHub
A-Registration O-Uncommon S-Critical T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Where are you starting? What can you see?

Unauthenticated welcome screen upon first downloading app

2. What do you click?

Pressing 'create account', then entering a homeserver - specifically one that delegates identity to an OIDC provider and disables native registrations.

### Outcome

#### What did you expect?

The homeserver should be validated and the user should be given a button 'Continue to '. This is what happens if the user follows the same steps after clicking 'I already have an account'.

#### What happened instead?

![325201209_566143065389600_2722204899528864728_n](https://user-images.githubusercontent.com/63904624/213420792-5742ee63-15d6-44ad-9209-92f03ba69c34.jpg)

Validation returns error 'registration is disabled'. This behaviour differs from the iOS app.

### Your phone model

Pixel 5

### Operating system version

_No response_

### Application version and app store

_No response_

### Homeserver

radical.directory

### Will you send logs?

Yes

### Are you willing to provide a PR?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.