Skip to content

Commit eb488a5

Browse files
authored
feat(frontier): add additional auth configuration for passkey (#311)
Signed-off-by: Kush Sharma <[email protected]>
1 parent 2c76572 commit eb488a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

raystack/frontier/v1beta1/frontier.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,10 @@ message AuthCallbackRequest {
13841384
// for oidc & magic links
13851385
string state = 2;
13861386
string code = 3;
1387+
1388+
// state_options has additional configurations for the authentication flow at hand
1389+
// for example, in case of passkey, it has challenge and public key
1390+
google.protobuf.Struct state_options = 4;
13871391
}
13881392

13891393
message AuthCallbackResponse {}
@@ -1421,6 +1425,9 @@ message AuthenticateResponse {
14211425

14221426
// state is used for resuming authentication flow in applicable strategies
14231427
string state = 2;
1428+
1429+
// state_options has additional configurations for the authentication flow at hand
1430+
google.protobuf.Struct state_options = 3;
14241431
}
14251432

14261433
message AuthStrategy {

0 commit comments

Comments
 (0)