Merge pull request #1621 from Helvio88/patch-1

Add state to oidc uri
This commit is contained in:
eikek 2022-07-05 20:21:37 +02:00 committed by GitHub
commit 44243b3d6d
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}"
) *>