-
Notifications
You must be signed in to change notification settings - Fork 24
Logged out user workflow - registration should use customer workflow, not the community workflow #401
Comments
* Add `businessLogin` function, which redirects user to customer login flow. Addresses topcoder-archive/topcoder-platform-taas-app#401
@urwithat |
@nikolay83 Verified in Dev, registration is using customer workflow, but after a new customer signs in, we are redirecting the customer to connect app, not to the create new team app. sign.up.mp4 |
@sdgun @nikolay83 This is not something that I can fix. It's about the auth flow. As usual, it redirects to Connect after activating the account. What I suggest: after the account has been activated, you can send another mail: "Your search results are ready. Click here to view..." (or something similar) And clicking that link will redirect the user to the search results |
Not sure if we can control the link inside the registration email somehow. Need to find someone familiar with Auth workflow. |
@maxceem I meant another mail, not the activation or registration email itself. An email that will be sent out directly/purely from the TaaS API. You're posting the account activation events to Kafka, right? If so, we can simply listen to these events and generate & send an email with the intended template & link, in case the user has unfinalized search results. So, after the user activated his account, he'll get another mail (other than the welcome email) from TaaS API, saying something like "Your search results are ready, click here to view it..." That's what I meant |
I'm not sure about this, not very familiar with Auth/Registration workflow. If there is such a Kafka event then your idea might work. Though what I understand from this comment #401 (comment) the other issue is also the fact that inside Welcome email there is a link to Connect App instead of TaaS App. |
I thought it's what was expected since it's a regular new registration. That's why I suggest sending another email. If we're able to manipulate the redirect URI of the activation link, then yes, we may not need another mail. However, this will probably require the auth flow & services to get some updates in order to respect the link from the originator, which will affect the entire TC ecosystem. |
@sachin-maheshwari |
@nikolay83 after activation, redirect is depends on from where your are initiating the signup. Example - https://www.topcoder.com/user-selection, here the "retUrl" is Connect - https://accounts-auth0.topcoder.com/?retUrl=https://connect.topcoder.com®Source=tcBusiness&mode=signUp |
This is the URL the app. redirects me. The And this is what I see in the email: cc @nikolay83 |
@sachin-maheshwari (in addition to the above comment) what I'm thinking, we're setting Here is the full URL that the app. redirects for auth, for your reference: You can take a look at the parameters |
Check this ticket as it is related : #435 we want to use regSource=taasApp instead of tcbusiness |
Verified in Dev, the user is not redirected to connect anymore, but since in dev the user is taken to start page after sign up, cannot verify proceeding to role intake submission after new user signs in while processing role selection. |
When a user who is not logged in is required to sign up at the end of the process, they are currently directed to the community signup workflow:

They should be sent to the customer sign up workflow:

The text was updated successfully, but these errors were encountered: