mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add state to oidc uri
Should fix #1619 - Cannot compile offline to test. I am not familiar with SBT.
This commit is contained in:
@ -49,6 +49,7 @@ object CodeFlowRoutes {
|
|||||||
CodeFlowConfig.resumeUri(req, cfg, config).asString
|
CodeFlowConfig.resumeUri(req, cfg, config).asString
|
||||||
)
|
)
|
||||||
.withQuery("response_type", "code")
|
.withQuery("response_type", "code")
|
||||||
|
.withQuery("state", cfg.clientId)
|
||||||
logger.debug(
|
logger.debug(
|
||||||
s"Redirecting to OAuth/OIDC provider ${cfg.providerId.id}: ${uri.asString}"
|
s"Redirecting to OAuth/OIDC provider ${cfg.providerId.id}: ${uri.asString}"
|
||||||
) *>
|
) *>
|
||||||
|
Reference in New Issue
Block a user