Support reverse-DNS URI scheme

Created on 11 June 2024, 5 months ago
Updated 15 July 2024, 4 months ago

Problem/Motivation

Since commit 9b3fefd9f1efcf849a4f444641917c235e1f3654 custom URI schemes are supported. Regrettably, the custom constraint for the redirect text field is too strict and doesn't allow reverse DNS schemes.

Steps to reproduce

Try to use a redirect URI of the form com.example.app://oidc-rp.

Proposed resolution

According to RFC 3986 Appendix A, syntax validation of the scheme key seems possible with a regex.

ABNF for scheme is:

   scheme        = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )

Translated to a regex: /[a-z][a-z0-9+\-\.]*/i

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

🇨🇭Switzerland znerol

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024