forcedotcom / SalesforceMobileSDK-Android

Android SDK for Salesforce
Other
341 stars 388 forks source link

invalid_client:invalid client credentials #2502

Closed johnjeremih closed 10 months ago

johnjeremih commented 10 months ago

Please fill out the following details:

  1. Version of Mobile SDK Used: 11.1.0
  2. Issue found in Native App or Hybrid App: Native
  3. OS Version: 12
  4. Device: Pixel 6a
  5. Steps to reproduce: I just updated it to version 11.1.0 from 10.0.0
  6. Actual behavior:
  7. Expected Behavior: I want to be able to log in
  8. Error Log:

image

brandonpage commented 10 months ago

Hi @johnjeremih, make sure the Require Secret for Web Server Flow box on your connected app deselected.

In 11.0 we changed the default auth method from User Agent to Web Server Flow.

brandonpage commented 10 months ago

Where does that code exist? I don't think our SDK uses SupportSQLiteDatabase.

brandonpage commented 10 months ago

I believe deselecting the Require Secret for Web Server Flow box fixes the original issue. If not we reopen this issue.

johnjeremih commented 10 months ago

@brandonpage For some reason it is conflicting with my database class

image