Skip to content

Commit

Permalink
Revert "fix: avoid federated signin redirect loop (#11847)"
Browse files Browse the repository at this point in the history
This reverts commit 47d38f4.
  • Loading branch information
stocaaro committed Aug 22, 2023
1 parent 9701928 commit bb02130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/internals/InternalAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export class InternalAuthClass {
// See https://github.com/aws-amplify/amplify-js/issues/4388
const usedResponseUrls = {};
// Only register urlListener once
if (this.getModuleName() === 'Auth') {
if (this.getModuleName() === 'InternalAuth') {
urlListener(({ url }) => {
if (usedResponseUrls[url]) {
return;
Expand Down

0 comments on commit bb02130

Please sign in to comment.