code in readme.md cause cyclical redirct
See original GitHub issueIf you don’t want to display a login form that tells the user that they are redirected to the identity server, you can use the convenience function this.oauthService.loadDiscoveryDocumentAndLogin(); instead of this.oauthService.loadDiscoveryDocumentAndTryLogin(); when setting up the library.
This directly redirects the user to the identity server if there are no valid tokens.
after use this.oauthService.loadDiscoveryDocumentAndLogin()
, the app into an infinity redirct circulation
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Redirecting with GitHub pages
This is a quick demo showing you how you can redirect markdown files in GitHub pages using an HTML template. You can check...
Read more >ERR_TOO_MANY_REDIRECTS · Cloudflare SSL/TLS docs
This error occurs when visitors get stuck in a redirect loop. This error is commonly caused by: A misconfiguration of your SSL/TLS Encryption...
Read more >List of HTTP status codes - Wikipedia
This is a list of Hypertext Transfer Protocol (HTTP) response status codes. Status codes are ... 3xx redirection – further action needs to...
Read more >How to redirect to another wiki page in GitHub flavored ...
Is there something similar to a Wikipedia feature that redirects WP:R and WP:RDR to Wikipedia:Redirect page? github-flavored-markdown · Share.
Read more >ServiceDesk Plus readme, release notes, and version history
Click here to learn more. SDF-83922 : URL Redirection for ESM Instances. Alias URLs can now be configured for service desk instances to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jeroenheijmans is right.
I think what threw us off was the method name “
...Login()
”. We assumed it was checking to see if we were authenticated, if not send us to the login page.But all it did was to check if the request had the correct hash fragments to obtain the access key.
Steps we took that works:
loadDiscoveryDocumentAndLogin
for the page that would be redirected from the login screen as well as loading the app.initImplicitFlow
to send user to login page otherwise begin the app.Would love to put a PR in. And get that for hacktoberfest heh
On Tue, 8 Oct 2019, 12:38 am Jeroen Heijmans, notifications@github.com wrote: