Add state to oidc uri

Should fix #1619 - Cannot compile offline to test. I am not familiar with SBT.
This commit is contained in:
Helvio Pedreschi 2022-07-01 14:38:07 -04:00 committed by GitHub
parent 6ae1775f98
commit 45ae99537d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}"
) *>