maybe the flow is that the user lands on the gateway, we dont have a token so we redirect them to login. they get redirected back but now theres only the oauth bits. no bit in their profile saying their a signed up user. so we redirect them to the sign up flow.
so, routing tables and conditions:
no token, no signup bit: redirect to Auth0
token, no signup bit: redirect to signup flow
token, signup bit: redirect to Mogul
in theory the signup process could also be where we sign the user up and route them to Stripe? no idea. can stripe be used to support a no-credit card trial period? can we redirect them to Mogul but with an expiry bit that we check. after a month or whatever thye loss access and get redirected to the stripe thing. or something
integrate stripe for payment processing.
conceptually im not sure if this would happen in the same vue app or if it would be a set of other pages
see https://github.com/bootiful-media-mogul/mogul-client/issues/20 for a discussion on the client
https://github.com/bootiful-media-mogul/mogul-client/issues/17 does this impact this?
maybe the flow is that the user lands on the gateway, we dont have a token so we redirect them to login. they get redirected back but now theres only the oauth bits. no bit in their profile saying their a signed up user. so we redirect them to the sign up flow.
so, routing tables and conditions:
in theory the signup process could also be where we sign the user up and route them to Stripe? no idea. can stripe be used to support a no-credit card trial period? can we redirect them to Mogul but with an expiry bit that we check. after a month or whatever thye loss access and get redirected to the stripe thing. or something