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.

RETURN URL IS BROKEN

See original GitHub issue

Problem

When trying to log in with a specified return_url it does not:

  • Log in
  • Return to the specified URL

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
pavlenexcommented, Nov 25, 2019

This is very annoying bug, that is mostly visible when you update btcpay server and stay on that page, refresh it then your login credentials don’t work. Login?ReturnUrl=%2Fserver%2Fmaintenance

Also if you ever try to visit a an url from your browser that’s bookmarked, and try to login to that page it won’t work.

To replicate:

  1. Create an account on mainnet.demo.btcpayserver.org/
  2. Log out
  3. Visit https://mainnet.demo.btcpayserver.org/Account/Login?ReturnUrl=%2Finvoices
  4. Try to log in
  5. You won’t be able to log in, instead you need to go to the home page and log in.
0reactions
bolatovumarcommented, Dec 10, 2019

Ok, not sure what’s going on in your case @klokit-co. I checkout out BTCPay v1.0.3.137 and logged in through /Account/Login?ReturnUrl=%2Fserver%2Fusers. I was able to log in successfully and I landed on /server/users page as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

asp.net mvc 3 - Redirect to returnURL not working
After logon, the redirect(returnURL) is NOT navigating the user to the requested page. The page stays on the login screen. This fixed it,...
Read more >
Return URL is broken for escaped characters
One pernicious problem is that certain tags in URLs need to be double encoded, and the ReturnUrl() function has to somehow figure that...
Read more >
What are Broken Links? And How Do You Find and Fix ...
A broken link is a web-page that can't be found or accessed by a user, for various reasons. Web servers will often return...
Read more >
How to Find and Fix Broken Redirects on Your Website?
What Does “Resource URL Redirect Broken” Mean? ... This issue means that the URL in question is a resource URL that redirects to...
Read more >
Return URL Broken #603 | Support Center - ASP.NET Zero
I've been working with the front end disabled. If the return URL is an application URL i.e. /Application#/tenant/usersin the ...
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