Skip to content

Allowed hosts array will contain one empty string item if no option set #97

@roborourke

Description

@roborourke
array_map( 'trim', explode( ',', Admin\get_sso_settings( 'sso_whitelisted_hosts' ) ) );

Will resolve to [ '' ] if no hosts have been added to the list. We maybe also should have at least the main or current site URL as an allowed host. This is based on the derived redirect value, so really we just want to prevent redirecting outside of the WP site.

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