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

Missing antiforgery token on swagger #21443

Closed
realLiangshiwei opened this issue Nov 25, 2024 · 1 comment
Closed

Missing antiforgery token on swagger #21443

realLiangshiwei opened this issue Nov 25, 2024 · 1 comment
Assignees
Milestone

Comments

@realLiangshiwei
Copy link
Member

https://abp.io/support/questions/8335/missing-antiforgery-token-on-swagger-abp9

@ejohnson-dotnet
Copy link
Contributor

#21444 did not add the index.js as an embedded resource. Need to update the project file to include this.

    <ItemGroup>
      <None Remove="wwwroot\swagger\ui\abp.swagger.js" />
      <EmbeddedResource Include="wwwroot\swagger\ui\abp.swagger.js" />
      <None Remove="wwwroot\swagger\ui\abp.js" />
      <EmbeddedResource Include="wwwroot\swagger\ui\abp.js" />
      <None Remove="wwwroot\swagger\ui\index.js" />
      <EmbeddedResource Include="wwwroot\swagger\ui\index.js" />
    </ItemGroup>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants