Skip to content

Possible regression with redirect_uri? #1239

@boesing

Description

@boesing

Hey there,

I am actually working on mezzio/mezzio-authentication-oauth2#34
I've realized tests are failing since this package in v8.3.0 where the RedirectUriValidator was introduced with its RedirectUriValidator#isLoopbackUri.

As I am not that familiar with these packages, I just wanted to drop this here.

Was it ever possible to pass just a path as redirect_uri?
The integration tests in the mezzio package are passing /redirect as redirect_uri and thus, parse_url wont have scheme or host.

So in case that the integration tests are just invalid, I'd be happy to close this issue as invalid.
If it was ever possible to pass non-FQDN redirect_uri parameters, the RedirectUriValidator#isLoopbackUri should verify if scheme or host keys are available.

Thanks in advance for any feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions