Skip to content

Verification of top-level domains buggy #3649

@TheOneWithTheBraid

Description

@TheOneWithTheBraid

I encountered a funny bug : if your top-level domain is too long, your redirect URI is automatically rejected. In my case, business.braid.polycule: was considered as an invalid URI scheme - even though .business obviously is a top-level domain.

I'd highly suggest to remove that buggy check.

if host.len() <= suffix.as_bytes().len() + 1 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Client-RegistrationRelated to OIDC Dynamic Client RegistrationA-Spec-ComplianceDivergence from the Matrix or the OAuth 2.0/OIDC specificationsT-DefectSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions