Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 18 21:01
    holtkamp commented #752
  • Nov 18 18:48
    ramsey commented #752
  • Nov 18 10:05
    holtkamp commented #752
  • Nov 18 10:05
    holtkamp commented #752
  • Nov 15 15:59
    edwardsmarkf closed #806
  • Nov 15 15:59
    edwardsmarkf commented #806
  • Nov 08 09:21
    Smolevich opened #811
  • Nov 03 08:53
    julienbornstein edited #810
  • Nov 02 23:23
    julienbornstein opened #810
  • Nov 02 14:03
    ashickur-rahman opened #809
  • Oct 31 01:15
    patrickbussmann commented #808
  • Oct 30 12:59
    patrickbussmann commented #808
  • Oct 30 12:34
    AndreiIgna commented #808
  • Oct 21 10:54
    sigmunau commented #778
  • Oct 18 16:11
    patrickbussmann opened #808
  • Oct 16 22:43
    stevenmaguire commented #773
  • Oct 16 15:18
    putyourlightson opened #807
  • Oct 15 23:05
    edwardsmarkf edited #806
  • Oct 15 23:04
    edwardsmarkf opened #806
  • Oct 14 06:05
    cleacos edited #805
Bob Mulder
@bobmulder
Haha
Scott Christianson
@Archer70
@shadowhand Thanks. I don't remember what the problem was now, but I had messed something up, on the server end IIRC.
Philipp Behrens
@BehrensPhilipp_twitter
how I use the composer?
Samuel Hudec
@hudecsamuel
Hi, is there an easy way to tweak, or create new grant types?
twyK
@twyyK
Hello there is anyone?
Michael Pohl
@mipapo
I hope someone will look at the open PullRequest soon ;)
Ilic Davor
@webfacer
hi can someone tell me how i cat turn verify off?
hellboy81
@hellboy81
hi
is there chat for oauth2-facebook?
Muslih Aqqad
@muslih

Hi all, i’m having a trouble since a week ago, oauth-facebook doesn’t return email, i use following code

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :facebook,'xxxxxx', 'xxxxxxxxxx',
  :scope => 'email', :display => 'popup', :info_fields => 'name,email’
end

any ideas where i’m going wrong? any help would be appreciated!

hellboy81
@hellboy81
Hi
hellboy81
@hellboy81
should I hanlde error responses from Facebook in own app?
{
  error_code: "111111",
  error_message: "Account Not Confirmed: The email address you have entered has already been registered, but your account has not yet been confirmed.  You will get an email shortly telling you how to confirm your account.",
  state: "12345678901234567890123456789012"
}
This error response is not translated to exceptions by oauth2-facebook?
hellboy81
@hellboy81
Hi
Should I provide provider specific names session names (oauth2state_fb, oauth2state_ga) if I use multiple auth providers simultaneously to handle case if user try to auth from >2 services at the same time or try to make it incognito from 2 several browsers?
hellboy81
@hellboy81
Hi,
As I menntionend clientId, clientSecret and redirectUri are provider wide settings?
hellboy81
@hellboy81
If I choose SQL table as storage for this settings (based on user input) I should store only clientId and clientSecret as fields in tables?
blob
hellboy81
@hellboy81
Hi
I need support on Valid OAuth Redirect URIs setting
Vincent Cerone
@iamcenz
hello, i am trying to figure out how to get this script working.
i am very confused
Woody Gilk
@shadowhand
@iamcenz what script?
Vincent Cerone
@iamcenz
@shadowhand thephpleague oauth2-client. I am using provider that isnt in the list, JellyFish Health, and I can figure out how to configure it to connect to their API.
Osvaldo Maria
@osvaldoM
hi guys, how do I specify the scope of the information i want to retrieve when creating a provider?
Woody Gilk
@shadowhand
@osvaldoM i'm not sure i follow
Osvaldo Maria
@osvaldoM
thank you very much @shadowhand , thats exactly what i was looking for
Woody Gilk
@shadowhand
:+1:
Osvaldo Maria
@osvaldoM
hi everyone, is there a tutorial or can anyone help me with using state to pass a variable, such as a returnurl?
Osvaldo Maria
@osvaldoM
in other way, is there a way I can add additional params to redirectUrl using the library API?
PéCé
@alterphp
Hi ! Is it mandatory to implement a Resource Owner Details URL on server side ? AbstractProvider from OAuth2 client library defines a fetchResourceOwnerDetails method that calls a URL...
I don't know if it's mandatory, recommended or just a classic implementation
I was wondering if I can use only informations contained in the token itself....
hellboy81
@hellboy81
Hi
Raj
@getmetorajesh
with an authorization code grant(oauth2-server), it is always asking the user to approve after login. I would assume this should be only one time task. Are there any specific settings the server/client needs to do to make this happen?
Richard Korebrits
@rkorebrits
Hi guys, how do you handle errors? E.g. FB error looks something like this in URL: "error_code=1349126&error_message=App+Not+Setup", whereas LinkedIn uses different parameters. How do we properly manage errors?
Debiprasad Sahoo
@debiprasad
Is there any clean way of adding parameters while making a GET request using getAuthenticatedRequest?
SirHelios
@SirHelios__twitter
Can someone help me with my issue? I followed the generic template. I use oauth2 server which provides an bearer token. In the template I get an correct access token, I checked the token manually and I receive the username and all other details. But how do I get it to work in laravel? Where are the information saved which I get after through the access_token? Arent they in ressourceOwner? Because thats is empty in my case. // I am not experienced with laravel
Lewis Roberts
@lwsrbrts
Hi all, using the "Refreshing a token" example from the http://oauth2-client.thephpleague.com/usage/ page I'm struggling to understand a few things. The $existingAccessToken var uses a function that clearly doesn't exist but there's no explanation as to what type of object needs to be returned. Is it true that I can contruct a token myself with the refresh and access and expiration data using known details via simply doing: $existingAccessToken = new AccessToken(['access_token' => 'wRwjLqf3j3kyBfPMVZsDSzAV2YSI','refresh_token' => 'GdY4fCR9iYcuS3yCPAildAzCwEbotXG3','expires' => '1521495665']); ?
If that is the case, if the server my client interacts with uses a different web path for refreshes /oauth2/refresh than it does fot the token /oauth2/token, can anyone point me in the direction where/how I can configure the refresh_token grant type to use that different path?
Lewis Roberts
@lwsrbrts
Lastly, using the example code that checks if the existing token has expired and if so then goes ahead to use the refresh_token grant type - why would the client throw an error, specifically asking for the access_token? I see this when the code is just "as-is" [24-Mar-2018 15:22:34 Europe/London] PHP Fatal error: Uncaught InvalidArgumentException: Required option not passed: "access_token" in \vendor\league\oauth2-client\src\Token\AccessToken.php:63. If I attempt to include access_token by any means, it throws the same error.
Lewis Roberts
@lwsrbrts
Somewhat embarrasingly, the solution was to change the 'urlAccessToken' => 'https://{api}/oauth2/refresh'
Bennett
@vantezzen
Hey 👋, how can you do a custom call with the oauth2-client? After I authenticated the user using it I want to get some extra informations from the server using the OAuth connection.
Bennett
@vantezzen
Ok, seems like
$request = $server->getAuthenticatedRequest($type, $url, $token, $body);
$response = $server->getParsedResponse($request);
is what I was searching for
Srinivas
@Sriniva63328880_twitter
Hi all
Shaharia Azam
@shahariaazam
I would like to request someone (who is maintaining oauth2-client repo) to add Zoho OAuth2 provider in the third party provider list. Zoho is a popular CRM and enterprise software platform.