File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/no-modal/src/connectors/auth-connector Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -322,8 +322,10 @@ class AuthConnector extends BaseConnector<AuthLoginParams> {
322322 public getOAuthProviderConfig ( params : Pick < AuthLoginParams , "authConnection" | "authConnectionId" | "groupedAuthConnectionId" > ) {
323323 const { authConnection, authConnectionId, groupedAuthConnectionId } = params ;
324324 const providerConfig = this . authConnectionConfig . find ( ( x ) => {
325- if ( groupedAuthConnectionId ) {
326- return x . authConnection === authConnection && x . groupedAuthConnectionId === groupedAuthConnectionId ;
325+ if ( groupedAuthConnectionId && authConnectionId ) {
326+ return (
327+ x . authConnection === authConnection && x . groupedAuthConnectionId === groupedAuthConnectionId && x . authConnectionId === authConnectionId
328+ ) ;
327329 }
328330 if ( authConnectionId ) {
329331 return x . authConnection === authConnection && x . authConnectionId === authConnectionId ;
You can’t perform that action at this time.
0 commit comments