© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
2mo ago
•
11 replies
Swyftey
OpenIddict client: "openiddict client: A challenge response cannot be returned from this endpoint."
beginner
visual studio
asp.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
!
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
send a response from TCP server to client
C
C# / help
3y ago
Implementing OpenIddict in Blazor Hybrid
C
C# / help
13mo ago
How should Error Status Code returned from a DLLImport function be handled?
C
C# / help
2y ago
❔ FluentValidation Custom Client Response?
C
C# / help
3y ago