Issue with skipRedirectCallback config

I have recently migrated to auth0 in angular app, in my angular app i have other third-party integration available so when i perform authorization for those my application will redirect to the auth0 redirection URL.

AuthModule.forRoot({
    domain: environment.auth0.domain,
    clientId: environment.auth0.client_id,
    redirectUri: environment.auth0.redirect_uri,
    cacheLocation: 'localstorage',
    **skipRedirectCallback**: window.location.pathname === '/other-callbackurl'
  })

i have added skipRedirectCallback config for skip other callbackurl, but when i build angular app for prod than skipRedirectCallback are not working

following is the main.js file which is generated after build

image

1 Like