Skip to content

TypeError in getRootMicrosoftGraphUri #215

@Loki3000

Description

@Loki3000

Hi there!

        $openIdConfiguration = $this->getOpenIdConfiguration($tenant, $version);
        return 'https://' . $openIdConfiguration['msgraph_host'];

After an unsuccessful attempt to get the configuration, getOpenIdConfiguration returns an empty string.
As a result, the next line triggers a TypeError. It's not an exception, so it isn't caught by other error handlers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions