File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 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<
1818 | "connectionId"
1919 | "redirectURL"
2020 | "hasSuccessPage"
21+ | "workflowId"
22+ | "releaseId"
2123> ;
2224
2325export type LoginOptions = {
@@ -109,6 +111,14 @@ export type LoginOptions = {
109111 * Single use code to prevent replay attacks
110112 */
111113 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 ;
112122} ;
113123
114124export enum IssuerRouteTypes {
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ export const mapLoginMethodParamsForUrl = (
1818 org_code : options . orgCode ,
1919 org_name : options . orgName ,
2020 has_success_page : options . hasSuccessPage ?. toString ( ) ,
21+ workflow_id : options . workflowId ,
22+ release_id : options . releaseId ,
2123 } ;
2224
2325 Object . keys ( translate ) . forEach (
You can’t perform that action at this time.
0 commit comments