Skip to content

Auth: Prepare client sync and settings for authorization code flow#13

Open
losolio wants to merge 1 commit intomainfrom
feature/auth/prep-code-flow
Open

Auth: Prepare client sync and settings for authorization code flow#13
losolio wants to merge 1 commit intomainfrom
feature/auth/prep-code-flow

Conversation

@losolio
Copy link
Copy Markdown
Contributor

@losolio losolio commented Mar 24, 2026

  • Add RedirectUris and PostLogoutRedirectUris to ClientDefinition
  • Add LoginPath to AuthEndpointSettings
  • Implement authorization_code grant in ClientSyncInitializer
  • Update README with new configuration options

Copilot AI review requested due to automatic review settings March 24, 2026 17:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prepares Ignis.Auth configuration and client synchronization for an upcoming OpenIddict authorization code flow, including new client URI settings and updated documentation/config defaults.

Changes:

  • Extend auth settings/client definitions with redirect URIs, post-logout redirect URIs, and a login path.
  • Update client sync to register OpenIddict permissions/URIs for authorization_code clients.
  • Adjust integration test configuration precedence to avoid leaked environment variables overriding test config.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tests/Ignis.Api.Tests/AuthConfigurationTests.cs Ensures test in-memory config wins over environment variables.
src/Ignis.Auth/Services/ClientSyncInitializer.cs Adds authorization_code handling and syncs redirect URIs to OpenIddict.
src/Ignis.Auth/README.md Documents new settings and provides updated configuration examples.
src/Ignis.Auth/AuthSettings.cs Adds LoginPath, RedirectUris, and PostLogoutRedirectUris settings.
src/Ignis.Api/appsettings.json Adds AuthSettings.Endpoints.LoginPath to app configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Add RedirectUris and PostLogoutRedirectUris to ClientDefinition
- Add LoginPath to AuthEndpointSettings
- Implement authorization_code grant in ClientSyncInitializer
- Update README with new configuration options
@losolio losolio force-pushed the feature/auth/prep-code-flow branch from aee2f62 to 9b3df9b Compare March 24, 2026 17:29
@losolio losolio requested a review from kennethmyhra March 24, 2026 17:39
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

Successfully merging this pull request may close these issues.

2 participants