Skip to content

Login fails when URL does not include https:// prefix. #282

@Jexsie

Description

@Jexsie

Component

  • formulus (React Native mobile app)
  • formulus-formplayer (React web app)
  • synkronus (Go backend server)
  • synkronus-cli (Command-line utility)
  • Documentation
  • Other (please specify)

User Story

As a user logging into the Formulus mobile app, I want the app link to automatically work even if I omit the https protocol so that login does not fail due to minor input formatting issues.

Description

When logging into the Formulus mobile application, users are required to enter an app link. Currently, the login process fails if the provided link does not explicitly include the https:// protocol.

Many users naturally enter URLs without specifying the protocol (e.g., example.com). The app does not automatically normalize or prepend https://, which causes the login to fail.

The app should automatically prepend https:// to the provided link if no protocol is specified.

Details

• The bug occurs whenever a user enters a valid domain or URL without the https:// prefix.
• The login process appears to strictly require a fully qualified HTTPS URL.
• This is primarily an input normalization/validation issue.
• Users may not understand why login fails because the entered link is otherwise valid.

Steps to Reproduce

  1. Open the Formulus mobile app.
  2. Navigate to the login screen.
  3. Enter a valid app link without the https:// prefix (e.g., example.com).
  4. Attempt to log in.

Expected Behavior

• The app should detect that the protocol is missing.
• The app should automatically prepend https:// to the provided link.
• Login should proceed successfully if the resulting URL is valid.

Actual Behavior

• Login fails when the link does not include https://.
• Users must manually add the protocol for the login to succeed.

Acceptance Criteria

• The app automatically prepends https:// when users enter a URL without a protocol.
• Login succeeds when a valid domain is entered without https://.
• Existing functionality continues to work when users explicitly include https://.
• Invalid URLs are still properly rejected.

Environment

OS: Android and iOS
Node.js version:
Go version:
Docker version:
Component version/branch:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions