Azure / reliable-web-app-pattern-dotnet

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.
https://aka.ms/eap/rwa/dotnet/doc
MIT License
356 stars 114 forks source link

createAppRegistrations.ps1 does not add required permissions to frontend app registration #308

Closed adrianhall closed 1 year ago

adrianhall commented 1 year ago

Describe the bug After running createAppRegistrations.ps1, the -frontend app registration has no permissions. Permission for the -api exposed scope is required.

Expected behavior The -frontend app registration should have permission to the scope exposed by the -api app registration.

Screenshots image

Desktop (please complete the following information):

Additional context Deployed in Microsoft tenant.

KSchlobohm commented 1 year ago

Pairs with #307

KSchlobohm commented 1 year ago

At the end:

  1. the scope should be consent by UsersAndAdmin
  2. remove preAuthorized client
  3. pass-through scope from API to front-end so a user can consent
  4. front-end web app should have API permission to call back-end api web app
KSchlobohm commented 1 year ago

migrated to 1852505