Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comment to have authentication header after forwarded header #150

Merged
merged 3 commits into from
Jan 20, 2025

Conversation

johnxy84
Copy link
Contributor

@johnxy84 johnxy84 commented Jan 7, 2025

No description provided.

Copy link
Member

@kevinchalet kevinchalet left a comment

Choose a reason for hiding this comment

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

Thanks for your PR.

@@ -75,6 +75,8 @@ If you don't want to start from one of the recommended samples, you'll need to:
```csharp
app.UseDeveloperExceptionPage();

app.UseForwardedHeaders();
Copy link
Member

@kevinchalet kevinchalet Jan 20, 2025

Choose a reason for hiding this comment

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

@johnxy84 I updated your PR to ensure app.UseForwardedHeaders() appears before pretty much everything else, as it was added a bit too late in your original commit.

@kevinchalet kevinchalet merged commit 3c91e78 into openiddict:dev Jan 20, 2025
2 checks passed
@kevinchalet kevinchalet self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants