mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-02-15 20:33: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:
parent
6ae1775f98
commit
45ae99537d
@ -49,6 +49,7 @@ object CodeFlowRoutes {
|
||||
CodeFlowConfig.resumeUri(req, cfg, config).asString
|
||||
)
|
||||
.withQuery("response_type", "code")
|
||||
.withQuery("state", cfg.clientId)
|
||||
logger.debug(
|
||||
s"Redirecting to OAuth/OIDC provider ${cfg.providerId.id}: ${uri.asString}"
|
||||
) *>
|
||||
|
Loading…
Reference in New Issue
Block a user