larastream / internals

Issues board used for Larastream internals discussions.
2 stars 0 forks source link

redirecting to the stream, when you're coming from Twitter #64

Open ghost opened 6 years ago

ghost commented 6 years ago

When you are on Twitter and you see that someone is streaming, but you're not logged in on Larastream. It's just a thought but it would be nice, when you would be redirected to the stream directly and not to the explore page.

JordanDalton commented 6 years ago

I tested this and when I click on the stream in the twitter post it does take me to the stream page.

ghost commented 6 years ago

Steps: (You're not logged in)

  1. https://twitter.com/larastream/status/976156610014994432
  2. redirection to https://www.larastream.com/@austencam/laravel-56-upgrade-tag-management
  3. Click on Login
  4. Type in email and password
  5. redirection to https://www.larastream.com/explore
  6. Click on https://www.larastream.com/@austencam/laravel-56-upgrade-tag-management

better way would be

  1. redirection to https://www.larastream.com/@austencam/laravel-56-upgrade-tag-management again
MatthewSH commented 6 years ago

Oh you're referring to a redirect target. This has to do with the redirectTo variable on the auth system. You could always customize this to check for if they came to the login/register from a stream or something other than the homepage and redirect there.