-
Notifications
You must be signed in to change notification settings - Fork 1
Change HTTP trigger authorization to Anonymous (#28) #29
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
Conversation
Updated HTTP trigger authorization level from 'Function' to 'Anonymous' for project completion report functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request changes the HTTP trigger authorization level from Function to Anonymous for two Azure Functions endpoints that generate project completion reports. This change removes authentication requirements, allowing unrestricted public access to these endpoints.
Key Changes:
- Removed function key authentication from the project completion report generation endpoint
- Removed function key authentication from the PDF generation endpoint
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Bezalu.ProjectReporting.API/Functions/ProjectCompletionReportFunction.cs
Show resolved
Hide resolved
Bezalu.ProjectReporting.API/Functions/ProjectCompletionReportFunction.cs
Show resolved
Hide resolved
|
@copilot this seems to prompt a need for readme and documentation updates. Please fully update the docs based on the current state of the application. Auth has changed (to expecting SWA linked to the function), a minimal Blazor front-end is now implemented, and anything else you can find. |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://mango-river-0addcf70f-29.eastus2.2.azurestaticapps.net |
|
@MWG-Logan I've opened a new pull request, #30, to work on those changes. Once the pull request is ready, I'll request review from you. |
…30) * Initial plan * Update documentation to reflect SWA authentication and implemented Blazor frontend Co-authored-by: MWG-Logan <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MWG-Logan <[email protected]>
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://mango-river-0addcf70f-29.eastus2.2.azurestaticapps.net |
This pull request updates both the API and documentation to align with a new authentication architecture using Azure Static Web Apps (SWA) and Azure AD (Entra ID). The main change is that Azure Functions now use
AuthorizationLevel.Anonymous, with authentication and access control enforced at the SWA layer. The documentation is extensively revised to reflect this, clarify the authentication flow, describe the Blazor frontend, and provide deployment and architectural details. These changes improve security, streamline authentication, and make the project easier to deploy and maintain.Authentication Architecture Updates:
ProjectCompletionReportFunction.csto useAuthorizationLevel.Anonymousinstead ofFunction, trusting authentication from SWA. [1] [2]README.md,docs/architecture.md,docs/deployment.md,docs/frontend.md) to describe authentication flow: SWA enforces Azure AD login, blocks unauthenticated requests, and forwards only authenticated requests to Functions. No function keys needed; session managed by SWA cookies. [1] [2] [3] [4]Project Structure and Frontend Improvements:
README.mdand architecture docs to describe the Blazor WebAssembly frontend, its features (interactive visualization, PDF export, Azure AD integration), and the new shared DTO project for contracts. [1] [2] [3] [4]Security and Data Handling Enhancements:
Deployment and Configuration Documentation:
Future Enhancements and Roadmap: