Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 20 12:40
    xvilo commented #685
  • Sep 20 12:39
    xvilo commented #685
  • Sep 15 04:55
    cdburgess opened #971
  • Sep 15 01:56
    cdburgess commented #901
  • Sep 15 01:50
    ramsey commented #901
  • Sep 14 22:05
    cdburgess commented #901
  • Sep 12 18:15
    gsirin commented #901
  • Sep 12 18:01
    websmurf commented #901
  • Sep 12 17:18
    ramsey closed #964
  • Sep 12 17:18
    ramsey commented #964
  • Sep 12 17:12

    ramsey on master

    Add support for PKCE (Proof Key… (compare)

  • Sep 12 17:12
    ramsey closed #837
  • Sep 12 17:12
    ramsey closed #901
  • Sep 12 17:12
    ramsey commented #901
  • Sep 12 17:07
    codecov[bot] commented #901
  • Sep 12 09:37
    globalvisionmedia opened #970
  • Sep 09 20:39
    rhertogh commented #901
  • Sep 09 20:38
    codecov[bot] commented #901
  • Sep 09 20:37
    codecov[bot] commented #901
  • Sep 09 20:37
    rhertogh synchronize #901
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.
Patrick Kusebauch
@patrickkusebauch
Hey guys, I am hoping, somebody could help me out. What do I need to persist for server-to-server communication? I am trying to figure out the data model for storing many different providers (App is getting data from many sources and aggregating across them. So the user logs into the source once and afterward I continuously make calls to the source). In so far I was just doing json_encode on the whole AccessToken class and stored it unstructured. But if I wanted to store it in a structured way, what data would I need?
Shaharia Azam
@shahariaazam
You need to save the AccessToken properties in your persistent storage. i.e: token, expires_at, refresh_token. You can get good idea if you look into the AccessToken entity
killerthief
@killerthief
can we access the api and token using python request??
dag
@dvikan
Hey
How exactly is "login with github" implemented?
dag
@dvikan
Also I am noticing now that github is not listed in the 3party provider list.
Shaharia Azam
@shahariaazam

Hi @dvikan ,
Please see https://oauth2-client.thephpleague.com/providers/league/

It's in the official provider list.

Robert Natkay
@nrob81
Hi guys, what would be the best way to get a consent id from the remote servre and append it to the scope for /authorize? i must send a scope as MY_SCOPE:{{consent_id}}
Dan Gormley
@DannyTomCom
hello everyone :) - is the only way to use this client, by installing via composer? I have a hosted domain with limited ssh access and no composer available so I can only upload to my home directory
𝖧𝖾𝗂𝗄𝗈 𝗩𝗼𝗴𝗲𝗹𝗴𝗲𝘀𝗮𝗻𝗴 𝖡𝖾𝗋𝗅𝗂𝗇
@WebPassionist_twitter
Hi everyone! Does anyone successfully used GenericProvider to connect with Trello? My solution ends up in an infinite loop. Seems to be that Trello includes the authentication code in the url as fragment / hash only, but not as GET param.
Chuck Burgess
@cdburgess
Quick question for anyone who knows. Do I need to do anything to get someone assigned to my PR? Or are they worked on as time permits?
Chuck Burgess
@cdburgess
I guess this channel is dead?