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

Flux流式输出导致filter抛Access Denied异常 #197

Open
hongshuo-wang opened this issue Dec 14, 2024 · 2 comments
Open

Flux流式输出导致filter抛Access Denied异常 #197

hongshuo-wang opened this issue Dec 14, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@hongshuo-wang
Copy link

ai模块使用到了Flux作为流式输出,我看项目中的做法是直接配置了@permitAll取消掉spring securiy的校验,从而避免SSE导致的Access Denied报错,这样做是否只是一个过渡做法?还请作者指点下有没有更好的方案!

@YunaiV
Copy link
Owner

YunaiV commented Dec 15, 2024

暂时没看到更好的做法哈。

如果有更好的做法,可以分享下噢

@YunaiV YunaiV self-assigned this Dec 15, 2024
@YunaiV YunaiV added the question Further information is requested label Dec 15, 2024
@hongshuo-wang
Copy link
Author

暂时没看到更好的做法哈。

如果有更好的做法,可以分享下噢

image
在这里处理下就行了~已验证通过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants