Skip to content

Allows anonymous access to interaction endpoint#339

Merged
BrammyS merged 1 commit intomainfrom
bugs/338-projects-were-auth-is-required-by-default-fail-to-authenticate
Feb 15, 2026
Merged

Allows anonymous access to interaction endpoint#339
BrammyS merged 1 commit intomainfrom
bugs/338-projects-were-auth-is-required-by-default-fail-to-authenticate

Conversation

@BrammyS
Copy link
Member

@BrammyS BrammyS commented Feb 15, 2026

The interaction endpoint now allows anonymous access.

This resolves an issue where projects requiring authentication by default were unable to properly authenticate with the interaction endpoint. Closes #338

Description

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

The interaction endpoint now allows anonymous access.

This resolves an issue where projects requiring authentication by default were unable to properly authenticate with the interaction endpoint.
@BrammyS BrammyS self-assigned this Feb 15, 2026
Copilot AI review requested due to automatic review settings February 15, 2026 15:05
@BrammyS BrammyS linked an issue Feb 15, 2026 that may be closed by this pull request
Copy link
Contributor

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

This PR fixes an authentication issue for Discord webhook interactions in ASP.NET Core projects that require authentication by default. Discord's interaction webhooks need to call the endpoint without ASP.NET authentication, relying instead on Discord's Ed25519 signature verification.

Changes:

  • Added [AllowAnonymous] attribute to the interaction endpoint
  • Added Microsoft.AspNetCore.Authorization using statement

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

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.

Projects were auth is required by default fail to authenticate

2 participants