Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview: 

Currently sunbird supports Google, SelfSignUp and State state account for user registration. In case of state user, even though they already have a state account they need to register in sunbird.

Problem statement: 

When launch the login page using CustomTab and then tap on home or minimize the the app. then again tap on app user landed on the same screen where user initiated the login . (ex. Course or library screen)

...

  • List all the option (Signin, Login with Google, State Login, Manual Signup) in app.
  • If user clicks on Signin then launch the Keyclock page with inapp browser.
  • If user clicks on State Login then launch the state login page with inapp browser.
  • If user clicks on Signup then handle signup flow in app.
  • If user clicks on Login with Google then handle in app using Google plugin.

Pros and Cons:

SolutionProsCons
1
  • Minor changes in the keyclock page and in app.
  • If later we want to remove any option then there are no build deployment is required for app.
  • Common code base for Mobile and Portal.
  • Need to handle the callback to switch between inapp browser and custom tab based on selected option.
2
  • No need to handle the callback to switch between inapp browser and custom tab.

3
  • By implementing the manual signup and google login in app will have more control on flow.

Conclusion:

Solution 1 is suggested by the design council.

Santhosh Vasabhaktula Rayulu Villa Mathew Pallan Sharath Prasad Swayangjit Parida