Skip to content

Expose invitation email binding through the Aspire API #85

Description

@woksin

Problem

AuthProxy configuration exposes Invite.EmailClaim, but both public WithInvite Aspire overloads omit it. Enabling recipient-bound invitations therefore requires bypassing the typed builder and spelling a raw environment variable.

Expected behavior

Expose the setting through the Aspire API with XML documentation and specs for URL-based and resource-based invite configuration.

Acceptance criteria

  • Both invite configuration shapes can declare the email claim.
  • Generated environment configuration binds to Cratis:AuthProxy:Invite:EmailClaim.
  • Null or empty retains the released default.
  • Documentation explains the opt-in recipient-binding meaning.
  • Existing compiled consumers remain binary compatible.

Do not replace an existing CLR signature by only adding an optional parameter, which is binary-incompatible. Keep existing overloads and add a delegating overload or separate fluent extension. This is a small additive change suitable for the current minor release train.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions