Skip to content

Proper port and wildcard handling for redirectUri #34

@bekce

Description

@bekce

We need to properly handle the port numbers in redirect uris.

Case 1: If the redirect uri is set as https://server/callback and the request comes from https://server:443/callback we should allow it as they are basically the same.

Case 2: If the redirect uri is set as https://server:443/callback and the request comes from https://server/callback we should allow it as they are basically the same.

Case 3: Same for cases 1, 2 with port 80

Case 4: Implement wildcard port support like http://server:*/callback

Case 5: Implement wildcard hostname support like https://*.prod.example.com/callback

Case 6: Covers case 4-5, support https://.prod.example.com:/callback

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions