Skip to content

Err_unknown_url_scheme issue #81

@karunanaik

Description

@karunanaik

Hello,
The library throws an error when somebody clicks a phone or email link on the SSO page. The error is
ERR_UNKNOWN_URL_SCHEME
How do I handle this?
Below is my code

instantiateOauthManager(getOauthBuilder(authorizationUrl));

    OAuthManager.OAuthCallback<Credential> authorizationCallback = future -> {
      try {
        Credential credential = future.getResult();
        this.credential = credential;
      } catch (IOException e) {
        Log.e(LOG_TAG, "Error getting oauth2 ping sso credential. " + e.getMessage());
      } catch (CancellationException e) {
        Log.e(LOG_TAG, "Single sign on action has been cancelled by the user. " + e.getMessage());
      }
    };

    oauth.authorizeExplicitly(Constants.PING_SSO_OAUTH2_USERID, authorizationCallback, null);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions