© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2mo ago•
11 replies
Swyftey

OpenIddict client: "openiddict client: A challenge response cannot be returned from this endpoint."

beginnervisual studioasp.net
Hi,

I am trying to learn about OpenIddict and how to set it up for Discord OAuth.

I think it is 75% there, but I must be misunderstanding something and have something set up incorrectly.

Right after I click to authorize with Discord, I am returned the error: "A challenge response cannot be returned from this endpoint."

I am not sure if the RedirectUri (set via
discord.SetRedirectUri
discord.SetRedirectUri
is supposed to be the same or different than the callback endpoint I have set in my controller. Either way, that doesn't seem to fix the issue.

Any help to figure out what I am missing is greatly appreciated, thanks!
devenv_YyZbAYsPcP.png
devenv_CAXDMTeClv.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

send a response from TCP server to client
C#CC# / help
3y ago
Implementing OpenIddict in Blazor Hybrid
C#CC# / help
13mo ago
How should Error Status Code returned from a DLLImport function be handled?
C#CC# / help
2y ago
❔ FluentValidation Custom Client Response?
C#CC# / help
3y ago