-
Notifications
You must be signed in to change notification settings - Fork 942
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
bitbucket requires to have auth at this level #213
Conversation
Can anyone else independently confirm this? @themsaid? |
only need client id no secret
I can confirm that it works without the changes in this PR. |
Then what am i doing wrong, it says I'm missing the client credentials, only works when adding that line of code there ~ |
Error : Socialite Version :
Bit bucket Permissions : |
Closing for now since we can't recreate this issue. If you can recreate it on a fresh, simple Laravel application and link @themsaid to it maybe he could recreate it then? |
Yup will try it. |
https://github.com/lukepolo/BitBucketTest There is the repository , same issue @themsaid Figured id add you as a notification , its a fresh install of laravel with socialite and a simple oauth controller |
I have the same issue as above with a fresh Laravel installation |
@rdgout we may have to open a new issue not sure if this will get noticed~ |
@themsaid could you verify these findings? It's a little tedious to modify the source of the package when I deploy my application. |
@lukepolo Nope, I had to manually change the code in the package when I deployed. Which means that I'm screwed when it's updated without the fix. Maybe we should ping @taylorotwell so he can take another look if @themsaid is busy. |
Hey, I'll look into the repository you created now and try to replicate. |
I still confirm that it's working, I hit |
yes |
I guess you may need to contact BitBucket and report this behaviour. |
Can i send you my client id and secret via another method , see if that works ? Im just trying to figure out why it wont work for me while it works for you perfectly |
Ok will report back here after i contact them ~ |
I think @lukepolo is right that this is broken, though it probably worked in previous versions. I am not very familiar with this library (I work on Bitbucket) but I can see that this commit renamed the method In light of that info, I would speculate that the immediate fix is probably to update the method name in |
If apply the changes described by @dtao I get:
Without passing |
@themsaid Do you know what version of the code you're using? I am a little confused because there appear to be 3 branches: master, 2.0, and 3.0; and the problem I described only exists in the 3.0 branch (where, incidentally, you can see that |
@dtao I'm on 3.0, I think the |
@themsaid The portion of the RFC I referred @lukepolo to was section 3.2.1:
That said, on closer inspection I see that the default implementation in the @lukepolo Is it possible these values are not set properly for you? Once again, I'm not very familiar with this library so I don't know if that question makes sense; but if that's the case then that would explain why it is working for other contributors to this thread but not for you. |
Ok so with 3.0.3 it does not work , but with 3.0.4 it does just tested this. My repo was using 3.0.3 so not sure why it didnt trigger for you earlier ~ |
Is the change that made it work |
I can confirm it works out-of-the-box now rather than the problem we were encountering before. |
No description provided.