From 9ac87a6f0493f30fa10380493416261066ae80cc Mon Sep 17 00:00:00 2001 From: Kush Sharma Date: Sat, 23 Sep 2023 21:12:40 +0530 Subject: [PATCH] feat(frontier): add additional auth configuration for passkey Signed-off-by: Kush Sharma --- raystack/frontier/v1beta1/frontier.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/raystack/frontier/v1beta1/frontier.proto b/raystack/frontier/v1beta1/frontier.proto index e4af7573..645159aa 100644 --- a/raystack/frontier/v1beta1/frontier.proto +++ b/raystack/frontier/v1beta1/frontier.proto @@ -1384,6 +1384,10 @@ message AuthCallbackRequest { // for oidc & magic links string state = 2; string code = 3; + + // state_options has additional configurations for the authentication flow at hand + // for example, in case of passkey, it has challenge and public key + google.protobuf.Struct state_options = 4; } message AuthCallbackResponse {} @@ -1421,6 +1425,9 @@ message AuthenticateResponse { // state is used for resuming authentication flow in applicable strategies string state = 2; + + // state_options has additional configurations for the authentication flow at hand + google.protobuf.Struct state_options = 3; } message AuthStrategy {