Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brk-multihub URIs are not accepted as SPA redirect uris #1600

Open
barclayadam opened this issue Dec 19, 2024 · 0 comments
Open

brk-multihub URIs are not accepted as SPA redirect uris #1600

barclayadam opened this issue Dec 19, 2024 · 0 comments

Comments

@barclayadam
Copy link

barclayadam commented Dec 19, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritise this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Affected Resource(s)

  • azuread_application

Terraform Configuration Files

I use Pulumi which uses v3.0.2 of the Terraform provider. The configuration I'm attempting to use in TypeScript is below:

import * as azuread from '@pulumi/azuread';

new azure.Application('app', {
    displayName: 'Test',

    singlePageApplication: {
        redirectUris: [
            // Required for Outlook Add-In NAA
            pulumi.interpolate`brk-multihub://my-add-in-domain.com`,
        ],
    },
});

Debug Output

Expected Behavior

brk-multihub should be an allowed scheme for singlePageApplication.redirectUris, with a domain-only that needs no trailing slash

Actual Behavior

Without a trailing slash:

azuread:index/application:Application resource 'main-application' has a problem: URI must have a trailing slash when there is no path segment for "single_page_application.0.redirect_uris.0". Examine values at 'main-application.singlePageApplication.redirectUris)

or, with the trailing slash:

azuread:index/application:Application resource 'main-application' has a problem: unexpected URI scheme for "single_page_application.0.redirect_uris.0", expected one of: http, https, ms-appx-web. Examine values at 'main-application.singlePageApplication.redirectUris'.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant