Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Take the user to the main menu if they've already authenticated #7

Open
iambmelt opened this issue Jul 20, 2015 · 3 comments
Open

Take the user to the main menu if they've already authenticated #7

iambmelt opened this issue Jul 20, 2015 · 3 comments
Assignees
Milestone

Comments

@iambmelt
Copy link
Contributor

If the user has already authenticated, we shouldn't prompt them for credentials or consent again.

@iambmelt iambmelt changed the title Take the user to the main menu if they Take the user to the main menu if they've already authenticated Jul 20, 2015
@iambmelt iambmelt added this to the MVP milestone Jul 20, 2015
@iambmelt iambmelt self-assigned this Jul 20, 2015
@iambmelt
Copy link
Contributor Author

Tagging as a bug because this is a known issue

@iambmelt
Copy link
Contributor Author

From SignInActivity

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_signin);
    if (User.isOrg()) {
        mAuthenticationManager.connect(this);
    } else if (User.isMsa() && mLiveAuthClient.loginSilent(this)) {
        // mLiveAuthClient.loginSilent returns false if the app is closed or restarts
        start();
    }
    ButterKnife.inject(this);
}

iambmelt added a commit that referenced this issue Jul 20, 2015
iambmelt added a commit that referenced this issue Jul 20, 2015
iambmelt added a commit that referenced this issue Jul 20, 2015
@iambmelt iambmelt modified the milestones: Backlog, MVP Jul 21, 2015
@iambmelt
Copy link
Contributor Author

Confirming this issue - doesn't look like this'll be ready for MVP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant