A successful login redirects a user to `pulbliclab.org/dashboard` in every situation
Please describe the problem (or idea)
After a successful login, the user gets redirected to https://publiclab.org/dashboard always even when he is not supposed to...
What happened just before the problem occurred? Or what problem could this idea solve?
I was here: https://publiclab.org/wiki/multispectral-imaging#Hardware+Mods and clicked Add your hardware modification here without logging in, so it said me to log-in which is fine but after I got logged-in it redirected me to dashboard instead of the editor page...and I had to manually head over to that page again to add hardware modification. This can prove to be a pain for the user...
What did you expect to see that you didn't?
After the user logs in, he/she should get redirected to the page he was trying to access just before logging in so that the user doesn't have to do the extra labour :)
Please show us where to look
https://publiclab.org/wiki/multispectral-imaging#Hardware+Mods
What's your PublicLab.org username?
icode365
This can help us diagnose the issue:
Browser, version, and operating system
Many bugs are related to these -- please help us track it down and reproduce what you're seeing!
Thank you!
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
@Rishabh570 This is because callback from Github can return to a particular url which is authorized in Github app console.
@sk9331657 Yep, that's true. We can at least link that button on the dashboard so that user doesn't have to manually head over to that URL again :)
@Rishabh570 Can this be implemented by using friendly forwarding
@champagnepappi I actually never worked on Ruby/Rails, so can't tell...but if you're sure about that, please go ahead :+1:
@Rishabh570 I'm sure friendly forwarding can do the fix. Leme try it out
sure, go ahead :+1:
On Tue, Oct 9, 2018, 7:32 PM Kevin Santos [email protected] wrote:
@Rishabh570 https://github.com/Rishabh570 I'm sure friendly forwarding can do the fix. Leme try it out
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3656#issuecomment-428203983, or mute the thread https://github.com/notifications/unsubscribe-auth/AYTX_LRNA26KFrKBbcOaK7oW6gaeqDfEks5ujKxpgaJpZM4XRyVm .
I would like to work on this issue, but I am having trouble locating this on my local machine. Is there a way I can imitate this issue on my local machine? Thanking you in advance! @gauravano
Hi @shubhscoder, you can take a look at issue description to reproduce this issue...
Yeah sure ! I ll do that .
On Wed, Oct 31, 2018, 12:56 PM Rishabh Rawat [email protected] wrote:
Hi @shubhscoder https://github.com/shubhscoder, you can take a look at issue description to reproduce this issue...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3656#issuecomment-434587223, or mute the thread https://github.com/notifications/unsubscribe-auth/ARofxZGuqajtf-ez4rzbAXpbWrItcYVWks5uqVCjgaJpZM4XRyVm .
I found that this issue might be related to https://github.com/publiclab/plots2/issues/3384 There's already been work going on for this. If you want to help in this one, please have a look at the PR and feel free to share your views. Just wanted to make sure, we don't end up with multiple fixes for the same problem.
Can you clarify if your login was using Google/Facebook/Twitter/GitHub, or using a username/password? If the former, i think you're right that it's the same as #3384! Thank you!
On Wed, Oct 31, 2018 at 8:36 AM Radhika Dua [email protected] wrote:
I found that this issue might be related to #3384 https://github.com/publiclab/plots2/issues/3384 There's already been work going on for this. If you want to help in this one, please have a look at the PR and feel free to share your views. Just wanted to make sure, we don't end up with multiple fixes for the same problem.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3656#issuecomment-434670437, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ8mAM7lvsS67gEY6W0vZQFLZfsEtks5uqZkvgaJpZM4XRyVm .
I think this issue is solved and we can close it.
Umm...but the behaviour is the same as described in the issue description...I guess it is not resolved it
Yeah, it has not resolved. I will be submitting a patch if anyone else is not working on this
That would be great!
We are having multiple links across the website where the return_to parameter is missing. If we will add return_to to various places, wherever the behaviour is inappropriate this will solve our problem
Creating the new modal and linking return_to actions in the modal might help. Trying this approach right now. Hope it helps
#4227 @kevinzluo you can work on this also. This is highly related to the last PR you did. These two tasks linked are apart from 10 task I was talking before.
@kevinzluo may I know the pr number for this issue?
https://codein.withgoogle.com/dashboard/tasks/5545998546894848/ @kevinzluo this is the task number. Please claim it after telling me the pr number in which the potential fix lies.