Skip to content

Commit

Permalink
security: Fix authorization on contextPath
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Verma <[email protected]>
  • Loading branch information
shank03 committed Sep 24, 2023
1 parent d9f5bae commit a1f0fc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class SecurityConfig(
.map { "$contextPath$it" }
.any { reqPath.startsWith(it) } -> Mono.empty()

reqPath.startsWith("/$BASE_PATH") -> if (validSession) {
reqPath.startsWith("$contextPath/$BASE_PATH") -> if (validSession) {
Mono.empty()
} else {
Mono.error(UnauthorizedException("Missing firebase auth token"))
Expand Down
Binary file modified src/main/resources/secrets.yml.gpg
Binary file not shown.

0 comments on commit a1f0fc1

Please sign in to comment.