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

Access restriction issue during GraphQL test after social login #19

Open
snapperbay4453 opened this issue Feb 27, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@snapperbay4453
Copy link
Member

I think Spring Framework does not recognize the OAuth2 access token between GraphQL and GraphiQL equally

Error message from console:

2022-02-28 02:38:53.874 DEBUG 27560 --- [ graphql-exec-3] o.s.s.a.i.a.MethodSecurityInterceptor : Failed to authorize ReflectiveMethodInvocation: public com.nugurang.entity.ThreadEntity com.nugurang.service.ThreadService.createThread(com.nugurang.dto.ThreadInputDto,long); target is of class [com.nugurang.service.ThreadService] with attributes [[authorize: 'hasPermission(#board, 'com.nugurang.entity.BoardEntity', 'WRITE')', filter: 'null', filterTarget: 'null']]
2022-02-28 02:38:53.874 WARN 27560 --- [ graphql-exec-3] n.g.e.SimpleDataFetcherExceptionHandler : Exception while fetching data (/createThread) : 접근이 거부되었습니다.
org.springframework.security.access.AccessDeniedException: 접근이 거부되었습니다.

@binkoni binkoni added the bug Something isn't working label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants