Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube login issue #5

Open
AbhijitKurane opened this issue Aug 23, 2017 · 0 comments
Open

YouTube login issue #5

AbhijitKurane opened this issue Aug 23, 2017 · 0 comments

Comments

@AbhijitKurane
Copy link

Hi,
We were trying to login to youtube by using below method,

private void loginToYouTube() {

        OAManager.getInstance().login(this, "youtube", new OAManager.LoginHandler() {
            @Override
            public void loginSuccess(User user, Boolean newUser) {
                //Log.v(TAG, String.format("OA user %s", user.identity.name.formatted));
                mUser = user;
            }

            @Override
            public void loginFailure(OAError error) {
                Log.v(TAG, String.format("Failed to login into OA: %s", error.getMessage()));
            }
        });
    }

But we are unable to login as OAuth requests to Google in embedded browsers known as “web-views” is no longer supported.
We can find details here.
https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html

Please guide how we can move forward with youtube login.

--
Thanks,
Abhijit

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

No branches or pull requests

1 participant