File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export default Controller.extend({
175
175
}
176
176
177
177
// Build options to invoke or throw error for invalid action
178
- if ( FORMS . LAUNCH_AUTHENTICATOR === actionPath && actionParams ) {
178
+ if ( ( FORMS . LAUNCH_AUTHENTICATOR === actionPath || FORMS . CHALLENGE_AUTHENTICATOR === actionPath ) && actionParams ) {
179
179
//https://oktainc.atlassian.net/browse/OKTA-562885 a temp solution to send rememberMe when click the launch OV buttion.
180
180
//will redesign to handle FastPass silent probing case where no username and rememberMe opiton at all.
181
181
invokeOptions = {
Original file line number Diff line number Diff line change @@ -334,18 +334,19 @@ export default BaseView.extend({
334
334
signatureData : CryptoUtil . binToStr ( assertion . response . signature )
335
335
} ;
336
336
337
- //this.options.appState.trigger('invokeAction', FORMS .LAUNCH_WEBAUTHN_AUTHENTICATOR);
338
- const hasUserHandleSchema = this . options . appState . getSchemaByName ( 'credentials.userHandle' ) ;
339
- if ( hasUserHandleSchema ) {
337
+ //this.options.appState.trigger('invokeAction', RemediationForms .LAUNCH_WEBAUTHN_AUTHENTICATOR);
338
+ // const hasUserHandleSchema = this.options.appState.getSchemaByName('credentials.userHandle');
339
+ // if (hasUserHandleSchema) {
340
340
_ . extend ( credentials , {
341
341
userHandle : CryptoUtil . binToStr ( assertion . response . userHandle ?? '' )
342
342
} ) ;
343
- }
343
+ // }
344
344
345
345
//this.model.set({
346
346
// credentials
347
347
//});
348
348
//this.saveForm(this.model);
349
+ this . options . appState . trigger ( 'invokeAction' , RemediationForms . CHALLENGE_AUTHENTICATOR , { 'credentials' : credentials } ) ;
349
350
} , ( error ) => {
350
351
// Do not display if it is abort error triggered by code when switching.
351
352
// this.webauthnAbortController would be null if abort was triggered by code.
You can’t perform that action at this time.
0 commit comments