-
Notifications
You must be signed in to change notification settings - Fork 402
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
feat: linkedin provider #238
Conversation
Hi @riderx, thanks for contributing, could you please fix the linting and formatting errors? If you're using vscode, you can install the go package extension which helps to format the code. Please add the necessary tests too, thanks! |
@kangmingtay i can fix the lint error, but i don't have any clue on how do testing, i know nothing about Golang, i will need help on this |
@kangmingtay i fixed lint issue and found a maybe solution for casting. |
@kangmingtay @awalias @anindha @gozeloglu @FlorianBouron your help is welcome :) |
What's the problem? What kind of help is needed? |
@gozeloglu test in env, since i have no clue how to test it. and review the code if you see errors. I'm a super begginner in go |
event the failling of the test i don't understand why : https://github.com/supabase/gotrue/runs/3972582714?check_suite_focus=true |
Takes code from supabase#238 and finished implementation, still needs improvements in provider impl file
I added a working implementation to this in #269 |
Hi @riderx. Thanks for adding these envars. In order for them to be recognized, could you also add the provider and config for LinkedIn as well? Not sure if they need to be: LINKEDIN or LINKED_IN to match a LinkedIn or LinkedIn case. Thanks! and |
Hi this isn't being implemented in this PR. It was added to my other PR #269 |
Thanks @HarryET - I hadn't seen your PR #269. I'll run a few tests later and check with @kangmingtay but agree that your PR means that this can be closed. |
Awesome. I still need to get my GoTrue Local Environment sorted, but from the looks of things should be working. Thanks @dthyresson |
I setup a local GoTrue last week. Was a little bumpy, but I intend to update the docs and contributing readme to make it smoother for new contributors. I'll be sure to cc you on the PR so you can test it out and try it out. |
Awesome. I've really enjoyed contributing to GoTrue so far just need a better local setup to tackle issues other than providers. I don't know if you saw but I have an RFC for 2FA just need to pad it out a bit more but though about trying to get a PR rolling if that was something you were interested in? |
I did not, but a fan of 2FA and I have seen requests for this feature. I'll be sure to watch it! |
@dthyresson thanks for the doc improvement as a newbe in golang, i wasn't able to run gotrue locally, all my code was done without been able to test anything, it was very furstrating. |
as @dthyresson say in #269 it's better to have specific Pr, so I reopen this one with the fix of @HarryET, thanks a lot for the work |
@HarryET took 1 hour with me to make Gotrue work. Now scripts fail, we had to fix so many things. I have Gotrue work, does the redirect to Linkedin, and then redirect back to my test app, but I'm stuck again since I run only Gotrue, Supabase refuse:
Can we have a docker-compose who run everything in one time ? Here is my test code :
|
@dthyresson do you need more things to review the PR ? |
🎉 This PR is included in version 2.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
hi @riderx, thanks for laying the groundwork for the linkedin provider! apologies for the delay, i know it's been put off for quite awhile but i've made some changes to fix this issue with the PR and also added some tests! |
@kangmingtay thanks a lot <3 |
* feat: linkedin provider * fix: invalid linkedin emailAddress struct format * refactor: change linkedin to lowercase * test: update linkedin provider tests Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
What kind of change does this PR introduce?
feature, it add Linkedin Provider
What is the current behavior?
No provider for linkedin before
What is the new behavior?
WIP: Linkedin provider.
Ps: i know nothing of golang and don't like it much, but i really need this provider for socialselling.ai ,so i did try to start the work
So i did try to do it.
Few things are missing :
Help is more than welcome :)
Additional context
Add any other context or screenshots.