Skip to content
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

Redirection after oauth SIGNUP #7211

Closed
Uzay-G opened this issue Jan 12, 2020 · 13 comments
Closed

Redirection after oauth SIGNUP #7211

Uzay-G opened this issue Jan 12, 2020 · 13 comments
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed

Comments

@Uzay-G
Copy link
Member

Uzay-G commented Jan 12, 2020

After #7113, oauth should be correctly redirecting to the previous page the user was on before he logged in/signed up.

Now there has been lots of discussion around where users should be redirected after signing up. This was summed up by @jywarren in #6233:

I'm thinking about the discussion of whether on SIGNUP we want to leave people on the dashboard or on the page they came from, so that's unrelated to this issue on LOGIN.

Signup-related issues have sometimes been opened to suggest that people end up back where they came from but my understanding is that they need to arrive on the dashboard to see the "welcome message". Related issues:

#3367
#5600 (not sure if this is signup or login)

But, possibly related to this issue: #3246

Thanks!

For now, signing up through oauth will redirect to the previous page the user was on. But I think we should discuss this issue of redirection for signing up.

I would be happy to change the code to redirect the user to the dashboard after signing up through oauth.

What do you think @jywarren and @SidharthBansal?

@Uzay-G Uzay-G added the bug the issue is regarding one of our programs which faces problems when a certain task is executed label Jan 12, 2020
@Uzay-G
Copy link
Member Author

Uzay-G commented Jan 12, 2020

@SidharthBansal can you add this to the login/signup milestones? Thanks 👍

@SidharthBansal SidharthBansal added this to the Login/SignUp & OAuth milestone Jan 12, 2020
@SidharthBansal
Copy link
Member

do we need to solve this before merging other prs?
Or can we do this later?
Any idea?

@Uzay-G
Copy link
Member Author

Uzay-G commented Jan 12, 2020

We can solve this after #7113. We need to discuss how we want this redirection to work and then implement the changes.

@SidharthBansal
Copy link
Member

@Uzay-G can we proceed with this now?
Which tests were you going to add?
Please open a new issue so that we can discuss them there.

@Uzay-G
Copy link
Member Author

Uzay-G commented Jan 13, 2020

Yes, if we want to redirect to the dashboard after oauth signup we should work on this. Otherwise we can leave it as is and the user will be redirected to the previous page when signing up. I will open a new issue for the tests.

@SidharthBansal
Copy link
Member

Can you please close this issue and open up a new issue after refactoring #7211?

@SidharthBansal
Copy link
Member

We just need to migrate as it is difficult to understand things here

@Uzay-G
Copy link
Member Author

Uzay-G commented Jan 13, 2020

You want me to close this one and open a new one after refactoring which pr/issue?

@SidharthBansal
Copy link
Member

SidharthBansal commented Jan 13, 2020 via email

@Uzay-G
Copy link
Member Author

Uzay-G commented Jan 13, 2020

Sorry I don't understand this issue is 7211

@SidharthBansal
Copy link
Member

SidharthBansal commented Jan 13, 2020 via email

@SidharthBansal
Copy link
Member

Moved to #7240

@Uzay-G
Copy link
Member Author

Uzay-G commented Jan 14, 2020

Sorry I was going to work on this but didn't have any time today. Thank you so much for opening the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed
Projects
None yet
Development

No branches or pull requests

2 participants