Skip to content

Commit 94113a9

Browse files
committed
fix: Allow the flagship app to log in without is token
1 parent 0ffa9b2 commit 94113a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

web/oidc/oidc.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,9 +573,7 @@ func AccessToken(c echo.Context) error {
573573
})
574574
}
575575
} else {
576-
return c.JSON(http.StatusBadRequest, echo.Map{
577-
"error": "No ID token which is necessary for flagship app",
578-
})
576+
logger.WithNamespace("oidc").Warnf("No ID token Logout won't work")
579577
}
580578
}
581579

0 commit comments

Comments
 (0)