Is there a way to signIn (obtain idToken) in background:
- with useame and password (assuming that the background task will provide useame and password),
- with one IdProviders (assuming that the background task will provide the email/id and the id of the provider).
By implementing UiManager without actual UI I managed utilize GitkitClient so that the user does not have to interact with the UI (for both useame/password and Google provider), but it still has to be executed inside of an activity.
What I am trying to achieve is a scenario where the user is logging in once and the token is refreshed when it expires after 2 weeks in background without user interaction.
