Skip to content

Solid client's redirect url not used in CallbackHandler? #3

@jg10-mastodon-social

Description

@jg10-mastodon-social

It appears that the redirect url provided by a Solid client is not used and a clean origin is used instead.

private forgeRedirectUrl(origin: string, code: string, state: string): string {
let origin_clean = origin.slice(-1) == '/' ? origin.slice(0, -1) : origin
return `${origin_clean}/?code=${code}&state=${state}&iss=${this.baseUrl}`

Is the intention that arbitrary redirect URLs are not supported?

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