-
-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Manager Login - ReturnUrl in LoginModel is allways null #579
Comments
Are you using https? I think I saw the same symptoms when running just http.
…On Tue, Apr 9, 2019 at 3:05 PM fdhighhead ***@***.***> wrote:
Hi guys,
its my first issue so excuse me for any mistakes.
Going directly to e.g. "baseUrl/manager/users" the login form shows up.
Adress in Browser is "baseUrl/manager/login?ReturnUrl=%2Fmanager%2Fusers".
Debugging the login process shows that the UserName and Password is passed
correctly but the ReturnUrl is allways null. This szenario is in all common
Browsers (Edge, Ff, Chrome etc.) the same.
If i use e.g. Postman to test the Post-Request by using either
"baseurl/manager/login?ReturnUrl=%2Fmanager%2Fusers&UserName=admin&Password=password"
or "baseUrl/manager/login?ReturnUrl=%2Fmanager%2Fusers" (UserName and
Password as form-data) the login process runs as expected...
I used the latest piranha.core master repo to debug the Piranha.Manager
component.
Thanks for your good work!
Greetings and have a nice week.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#579>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AGfnZTdW26cIbkWYrIoCRPoRJoVV6XsGks5vfQ6jgaJpZM4cltyC>
.
|
It looks like the view isn’t actually forwarding the LoginUrl to the login action |
Yes i tried. Same issue.
I just tried to forward returnUrl as a hidden field - that worked. If i get it right, the DefaultIdentity given by Microsoft uses in the Login view the whole LoginModel, not only the string (returnUrl). So i guess there is something wrong? thank you for your quick answer! |
We'll add the |
This seems to have disappeared again in the new manager interface from version 7.0, because ReturnUrl does not work at all. And in Login.cshtml there is no ReturnUrl, nor in Login.cshtml.cs. |
Hi guys,
its my first issue so excuse me for any mistakes.
Going directly to e.g. "baseUrl/manager/users" the login form shows up.
Adress in Browser is "baseUrl/manager/login?ReturnUrl=%2Fmanager%2Fusers".
Debugging the login process shows that the UserName and Password is passed correctly but the ReturnUrl is allways null. This szenario is in all common Browsers (Edge, Ff, Chrome etc.) the same.
If i use e.g. Postman to test the Post-Request by using either
"baseurl/manager/login?ReturnUrl=%2Fmanager%2Fusers&UserName=admin&Password=password"
or
"baseUrl/manager/login?ReturnUrl=%2Fmanager%2Fusers" (UserName and Password as form-data)
the login process runs as expected...
I used the latest piranha.core master repo to debug the Piranha.Manager component.
Thanks for your good work!
Greetings and have a nice week.
The text was updated successfully, but these errors were encountered: