File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
api/src/modules/cloud/user/providers
components/oauth/shared/oauth-form/components/oauth-sso-form
electron/components/ConfigOAuth Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export class CloudUserApiProvider extends CloudApiProvider {
41
41
'login' ,
42
42
{
43
43
...CloudApiProvider . generateUtmBody ( utm ) ,
44
+ auth_mode : credentials . idpType ,
44
45
} ,
45
46
{
46
47
...CloudApiProvider . getHeaders ( credentials ) ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const OAuthSsoForm = ({
27
27
onBack,
28
28
onSubmit,
29
29
} : Props ) => {
30
- const [ validationErrors , setValidationErrors ] = useState < FormikErrors < Values > > ( { } )
30
+ const [ validationErrors , setValidationErrors ] = useState < FormikErrors < Values > > ( { email : '' } )
31
31
32
32
const validate = ( values : Values ) => {
33
33
const errs : FormikErrors < Values > = { }
Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ const ConfigOAuth = () => {
115
115
dispatch ( setOAuthCloudSource ( null ) )
116
116
dispatch ( signInFailure ( err ?. response ?. data ?. message || message ) )
117
117
dispatch ( addErrorNotification ( err ) )
118
- dispatch ( setSSOFlow ( undefined ) )
119
118
}
120
119
}
121
120
You can’t perform that action at this time.
0 commit comments