-
Notifications
You must be signed in to change notification settings - Fork 7
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
[feature/#763] hot post #778
Conversation
|
@@ -45,7 +45,7 @@ class AuthInterceptor @Inject constructor( | |||
} | |||
|
|||
private fun isAccessTokenUsed(originalRequest: Request) = when { | |||
originalRequest.url.encodedPath.contains("playground") -> false | |||
originalRequest.url.encodedPath.contains("auth/playground") -> false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
playground
가 들어가면 header를 넣지 않는 코드였습니다. 이 코드로 인해 403에러가 발생하고 있었습니다.
이번에 구현한 api에 playground가 들어가지만, header가 필요해 수정했습니다.
api명세서를 전부 뒤져보니 playground가 들어가는 api가 auth/playground
만 존재하여 해당 방법으로 수정했습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
What is this issue?