code: public static Intent newResponseIntent(Context context, Uri responseUri) {
          Intent intent = new Intent(context, LoginActivity.class);
          intent.setData(responseUri);
          intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
          return intent;
      }
docs: Used to handle Redirect URI response from customtab or browser
  
  @param context
  @param responseUri
  @return