Open ghost opened 4 years ago
@alexziskind1 I have updated to initial comment.
Just discovered I can disable pkce when creating the client.
this.client = new TnsOAuthClient(provider.type, false);
I assume LinkedIn should support pkce. Maybe worth looking into.
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
An initial angular nativescript project with nativescript-oauth2 as a dependency. Have configured Facebook, Google, and LinkedIn Oauth2 login. Facebook and Google both work as LinkedIn receives the following error after successfully logging in to LinkedIn through the WebView.
I have discovered that it has to do with the code verifier. When I comment out the
code_verifier
param right before it makes the POST request to the token endpoint, it works. I am going to dig a bit deeper.Which platform(s) does your issue occur on?
Currently, only tested on Android using an emulator.
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Configure linkedIn:
Start app and trigger login:
Login with LinkedIn and watch logs for the error.
Is there any code involved?
See above.