Skip to content

YouTube login issue #5

Description

@AbhijitKurane

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions