Commit d9d723b 1 parent 375a260 commit d9d723b Copy full SHA for d9d723b
File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ export type LoginMethodParams = Pick<
18
18
| "connectionId"
19
19
| "redirectURL"
20
20
| "hasSuccessPage"
21
+ | "workflowId"
22
+ | "releaseId"
21
23
> ;
22
24
23
25
export type LoginOptions = {
@@ -109,6 +111,14 @@ export type LoginOptions = {
109
111
* Single use code to prevent replay attacks
110
112
*/
111
113
nonce ?: string ;
114
+ /**
115
+ * Workflow ID to trigger on authentication
116
+ */
117
+ workflowId ?: string ;
118
+ /**
119
+ * Release ID to trigger on authentication
120
+ */
121
+ releaseId ?: string ;
112
122
} ;
113
123
114
124
export enum IssuerRouteTypes {
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ export const mapLoginMethodParamsForUrl = (
18
18
org_code : options . orgCode ,
19
19
org_name : options . orgName ,
20
20
has_success_page : options . hasSuccessPage ?. toString ( ) ,
21
+ workflow_id : options . workflowId ,
22
+ release_id : options . releaseId ,
21
23
} ;
22
24
23
25
Object . keys ( translate ) . forEach (
You can’t perform that action at this time.
0 commit comments