-
Notifications
You must be signed in to change notification settings - Fork 113
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
Bug: Not able to read code in IOS #92
Comments
This is known see #13 |
@tinahir What I though before might be not right, therefore a few more question. What do you want to achieve? a) If you want to get only the code, that would be not possible on iOS because of #13 Does it work on other platforms? I have no experience with Salesforce so I need as much information as you can get me, please try to debug ios. |
Closing as user not replied. |
Capacitor version:
Latest Dependencies:
@capacitor/cli: 2.0.1
@capacitor/core: 2.0.1
@capacitor/android: 2.0.1
@capacitor/electron: 2.0.1
@capacitor/ios: 2.0.1
Installed Dependencies:
@capacitor/electron not installed
@capacitor/cli 2.0.1
@capacitor/core 2.0.1
@capacitor/ios 2.0.1
@capacitor/android 2.0.1
Library version:
OAuth Provider:
Your Plugin Configuration
Affected Platform(s):
Current Behavior
Not able read the "code" from URLevent if code is available in URl please check below log
Other Information
log:
{"iosSourceApplication":"com.apple.SafariViewService","url":"myapp://oauth/?code=aPrxI_ssdsdsdsdssdsdMHl1WjMBOJmM8s.froERJSun6dM7YN5EGAxSvy0oqV0FSFL33KIg%3D%3D&state=mKQ2VrcoxkyhAaXKH9FM&
⚡️ [log] - App opened with URL: myapp://oauth/?code=aPrxI_shXQqE3OxcxcxcxccM_rwWU02MHl1WjMBOJmM8s.froERJSun6dM7YN5EGAxSvy0oqV0FSFL33KIg%3D%3D&state=mKQ2VrcoxkyhAaXKH9FM&sfdc_community_url=https%3A%2F%2Fbmpdev-sigep.cs124.force.com%2FBMP&sfdc_community_id=0DB3J0000008OMCWA2
@byteowls/capacitor-oauth2: Authorization failed with The operation couldn’t be completed. (OAuthSwiftError error -11.).
ERROR MESSAGE: {"message":"ERR_NO_AUTHORIZATION_CODE","errorMessage":""}
⚡️ [error] - OAuth rejected {"message":"ERR_NO_AUTHORIZATION_CODE","errorMessage":"","line":224,"column":23,"sourceURL":"user-script:2"}
The text was updated successfully, but these errors were encountered: