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 XSRF-TOKEN to Swagger UI Requests #5864

Merged
merged 6 commits into from
Oct 24, 2020
Merged

Add XSRF-TOKEN to Swagger UI Requests #5864

merged 6 commits into from
Oct 24, 2020

Conversation

realLiangshiwei
Copy link
Member

@realLiangshiwei realLiangshiwei commented Oct 20, 2020

Resolve #5803

Swagger UI needs to Add XSRF-TOKEN to Requests. I created a Volo.Abp.Swashbuckle package. It replaces HTML content internally to add XSRF-TOKEN.

For everyone, they can customize ISwaggerHtmlResolver implementation to change replace HTML logic.

@realLiangshiwei realLiangshiwei added this to the 3.3-final milestone Oct 20, 2020
@realLiangshiwei realLiangshiwei linked an issue Oct 20, 2020 that may be closed by this pull request
@maliming maliming marked this pull request as draft October 21, 2020 00:50
@maliming maliming marked this pull request as ready for review October 23, 2020 09:15
@maliming maliming requested a review from hikalkan October 23, 2020 09:15
@hikalkan hikalkan merged commit 4dbc60a into rel-3.3 Oct 24, 2020
@hikalkan hikalkan deleted the liangshiwei/swagger branch October 24, 2020 10:28
@hikalkan
Copy link
Member

Thanks.
I added fody: 7530049 (it seems that's not necessary now, but it is good to add to be consistent)

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.

Add XSRF-TOKEN to Swagger UI Requests
3 participants