mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Fixing http redirect status codes
This commit is contained in:
@ -54,7 +54,7 @@ object CodeFlowRoutes {
|
||||
logger.debug(
|
||||
s"Redirecting to OAuth/OIDC provider ${cfg.providerId.id}: ${uri.asString}"
|
||||
) *>
|
||||
SeeOther().map(_.withHeaders(Location(Uri.unsafeFromString(uri.asString))))
|
||||
Found(Location(Uri.unsafeFromString(uri.asString)))
|
||||
case None =>
|
||||
logger.debug(s"No OAuth/OIDC provider found with id '$id'") *>
|
||||
NotFound()
|
||||
|
Reference in New Issue
Block a user