-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 Report: LinkedIn Oauth2 Broken #4827
Comments
Thanks for raising this! 🙏🏼 We'll look into this as soon as we can! |
@stnguyen90 Can I work on this? Seems fairly straightforward as @superseby2 suggested, are there any additional caveats to this? |
@SoulPancake there may be some other implications. Best to leave this with the core team. |
So I just tested this on the latest version of Appwrite, but I wasn't able to reproduce the problem as the session created fine for me: @superseby2, are you still experiencing this or may I close this issue? |
@stnguyen90 I'm closing due to inactivity. Feel free to reopen if you found this issue, and have reproduction steps. |
👟 Reproduction steps
We're having difficulty connecting."
We have opened an issue at LinkedIN here is their reply :
We dived a little bit our side and indeed if we urlencode the state parameter the pb goes away.
from
src/Appwrite/Auth/OAuth2/Linkedin.php
from 'app/controllers/api/account.php
in
App::get('/v1/account/sessions/oauth2/:provider/redirect')` line 363It seems lile LinkedIN urldecode his side and the state being only url-encoded once messes up somehow when decoded. (At least that is my understanding).
It might actually make sense to do this for every OAuth providers as "state" as defined by the RFC should be a String and nothing else.
Could you please have a look ?
👍 Expected behavior
👎 Actual Behavior
🎲 Appwrite version
Version 0.14.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: