bikeindex/bike_index

Fix issues with partner sign in

sethherr opened this issue · 3 comments

When you sign in or sign up with a partner parameter, for example: https://bikeindex.org/session/new?partner=bikehub

You should be immediately redirected after sign in to https://new.bikehub.com/account - from the sign_in_and_redirect(user) method in Sessionable.

Currently, you are not redirected.

Additionally - if you are signing up via a partner, we need to require that you agree to the terms, rather than just letting you accept them when you next sign in.

This might be an issue with something in the sign in process. When clicking the sign up link on new.bikehub.com, if I'm not already signed in to Bike Index, it doesn't send me to a sign in page with ?partner=bikehub

Intermittent:

demo

Working on getting BikeHub running locally, but something is broken on it and blocking setup.