Skip to content

remember redirect_url when solving the 2FA challenge - #24947

Merged
PVince81 merged 1 commit into
masterfrom
2fa-remember-redirect-url
Jun 2, 2016
Merged

PVince81 merged 1 commit into
masterfrom
2fa-remember-redirect-url

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Jun 1, 2016 •

Copy link
Copy Markdown
Contributor

fixes #24850

@PVince81 @nickvergessen @rullzer review please

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @BernhardPosselt, @LukasReschke and @DeepDiver1975 to be potential reviewers

@ChristophWurst
ChristophWurst force-pushed the 2fa-remember-redirect-url branch from 99a0ca2 to 5e71d23 Compare June 1, 2016 12:42
@ChristophWurst

Copy link
Copy Markdown
Contributor Author

return new RedirectResponse($this->urlGenerator->linkToRoute('core.TwoFactorChallenge.showChallenge', ['challengeProviderId' => $provider->getId()]));
return new RedirectResponse($this->urlGenerator->linkToRoute('core.TwoFactorChallenge.showChallenge', [
'challengeProviderId' => $provider->getId(),
'redirect_url' => $redirect_url,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to urlencode ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is done here

'redirect_url' => urlencode($this->request->server['REQUEST_URI']),

@nickvergessen

Copy link
Copy Markdown
Contributor

Works in general, but I'm loosing the &fileid= argument somewhere in the process :(

@nickvergessen

Copy link
Copy Markdown
Contributor

👍

@ChristophWurst

Copy link
Copy Markdown
Contributor Author

@PVince81 @rullzer second review? :-)

@PVince81

PVince81 commented Jun 1, 2016

Copy link
Copy Markdown
Contributor

👍

@codecov-io

codecov-io commented Jun 1, 2016 •

Copy link
Copy Markdown

Current coverage is 60.18%

Merging #24947 into master will not change coverage

@@             master     #24947   diff @@
==========================================
  Files          1585       1585          
  Lines        102769     102769          
  Methods       11367      11367          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          61846      61846          
  Misses        40923      40923          
  Partials          0          0          

Powered by Codecov. Last updated by 7b4459d...7b4459d

@PVince81
PVince81 merged commit 6b14229 into master Jun 2, 2016
@PVince81
PVince81 deleted the 2fa-remember-redirect-url branch June 2, 2016 08:40
@lock

lock Bot commented Aug 5, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remember redirect_url when logging in with a second factor

5 participants