Describe the feature request?
Hey Okta team,
When user clicks on Login button, we are setting our loading state to true and call WebAuthenticationClient's login which then launches the chrome custom tab. If user closes the tab, we catch the FlowCancelledException which we use to reset the loading state.
If the user backgrounds the app and then use the app launcher icon to relaunch the app, the custom tab gets destroyed and it leaves the user in perpetual loading state. Is there a callback that can be used here to reset loading state when the ForegroundActivity gets destroyed?
New or Affected Resource(s)
User loading state
Provide a documentation link
No response
Additional Information?
No response
Describe the feature request?
Hey Okta team,
When user clicks on Login button, we are setting our loading state to true and call WebAuthenticationClient's login which then launches the chrome custom tab. If user closes the tab, we catch the FlowCancelledException which we use to reset the loading state.
If the user backgrounds the app and then use the app launcher icon to relaunch the app, the custom tab gets destroyed and it leaves the user in perpetual loading state. Is there a callback that can be used here to reset loading state when the ForegroundActivity gets destroyed?
New or Affected Resource(s)
User loading state
Provide a documentation link
No response
Additional Information?
No response