Skip to content

Error when newly added identifier URIs doesn't contain a tenant verified domain #2870

@weilai-irl

Description

@weilai-irl

When using the PowerShell script to create new Azure app for the integration, if the Moodle URL isn't from a tenant verified domain, the script run will throw the attached error message when trying to add identifier URI. This will not result in the script running fail - the app would still be created with correct redirect URIs, permissions and admin consents etc, but all settings in the "Expose an API" configuration page will be missing.

Image

To solution to this is to check if the Moodle URL is from a tenant verified domain, and only try to use it to form the identifier URI if it contains it; otherwise use the default identifier URI without Moodle URL.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions