Skip to content

Commit

Permalink
editoast: add acr_values for MFA
Browse files Browse the repository at this point in the history
  • Loading branch information
younesschrifi committed Jun 21, 2024
1 parent bffd8c1 commit 72b982b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gateway/actix_auth/src/providers/oidc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ impl SessionProvider for OidcProvider {
CsrfToken::new_random,
Nonce::new_random,
)
.add_scope(Scope::new(scope.to_owned()));
.add_scope(Scope::new(scope.to_owned()))
.add_extra_param("acr_values", "forte");

let (auth_url, csrf_token, nonce) = client_builder.url();
// if we ever decide to store the nonce unencrypted, we should also change how it's checked:
Expand Down

0 comments on commit 72b982b

Please sign in to comment.