question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Infinity loop reload

See original GitHub issue

Hello, I have an issue that happens only on Safari (Mac, iPad, iPhone). After being authenticated via the implicit flow, I’m redirected to the Angular application but the browser loops infinitely in a redirect between webapp and oauthUrl but no errors on browser’s console.

I use oauth2-oidc : 5.0.2 with :

Angular CLI: 7.3.2
Node: 10.9.0
OS: win32 x64
Angular: 7.2.6
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.13.2
@angular-devkit/build-angular     0.13.2
@angular-devkit/build-optimizer   0.13.2
@angular-devkit/build-webpack     0.13.2
@angular-devkit/core              7.3.2
@angular-devkit/schematics        7.3.2
@angular/cli                      7.3.2
@ngtools/webpack                  7.3.2
@schematics/angular               7.3.2
@schematics/update                0.13.2
rxjs                              6.3.3
typescript                        3.2.4
webpack                           4.29.0 

I’m using the library on several projects but I have the issue only for one. An idea? Thanks you in advance.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

3reactions
namnhcnttcommented, Jun 11, 2019

I faced same issue, but in chrome, angular 7, latest angular-oauth2-oidc. Sometime the network is poor, this issue happened.

0reactions
agjscommented, Sep 11, 2019

I had the same issue. For some reason, this line in my router caused the issue:

{ path: '', redirectTo: '/', pathMatch: 'full' },

I yet haven’t figured out why but once I debug it properly, I might post more information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I want to reload a webpage in a loop in javascript
I want to reload a page in loop but the issue is when I just put reload in an infinite loop it starts...
Read more >
Infinite Loop/Refresh | WordPress.org
I'm using WooCommerce with geolocation with page caching support, is that related? Unfortunately I cannot enable GeoLocation support for my LiteSpeed Web Server ......
Read more >
Enabling https causes an infinite loop of reloads #1464 - GitHub
The website, once accessed over https will cause an infinite loop of reloads. Logs Browser logs (brave browser, fork of chromium):
Read more >
Infinity, loop, refresh, reload, repeat icon - Iconfinder
Download this infinity, loop, refresh, reload, repeat icon in outline style from the Mixed category. Available in PNG and SVG formats.
Read more >
Getting infinite reload loop in Anypoint Platform's Runtime ...
Getting infinite reload loop in Anypoint Platform's Runtime Manager. CAUSE. The user does not have adequate permissions to Runtime Manager in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found