{"action":"created","issue":{"url":"https://api.github.com/repos/onassar/PHP-StripeOAuth/issues/3","labels_url":"https://api.github.com/repos/onassar/PHP-StripeOAuth/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/onassar/PHP-StripeOAuth/issues/3/comments","events_url":"https://api.github.com/repos/onassar/PHP-StripeOAuth/issues/3/events","html_url":"https://github.com/onassar/PHP-StripeOAuth/issues/3","id":73376681,"number":3,"title":"Updates per oauth2-server-php changes","user":{"login":"nerdfiles","id":102306,"avatar_url":"https://avatars.githubusercontent.com/u/102306?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdfiles","html_url":"https://github.com/nerdfiles","followers_url":"https://api.github.com/users/nerdfiles/followers","following_url":"https://api.github.com/users/nerdfiles/following{/other_user}","gists_url":"https://api.github.com/users/nerdfiles/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdfiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdfiles/subscriptions","organizations_url":"https://api.github.com/users/nerdfiles/orgs","repos_url":"https://api.github.com/users/nerdfiles/repos","events_url":"https://api.github.com/users/nerdfiles/events{/privacy}","received_events_url":"https://api.github.com/users/nerdfiles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-05T17:28:27Z","updated_at":"2015-05-05T18:55:34Z","closed_at":null,"body":"https://github.com/bshaffer/oauth2-server-php implements the final draft of OAuth 2.0. I'm noticing issues particularly in https://github.com/nerdfiles/stripe-market/blob/master/includes/stripe-functions.php#L96-L974 when double usage of $_GET['code'] for the purposes of crafting tokens and public keys — specifically keys.\r\n\r\nWhen it comes to Stripe, I'm attempting to Connect Accounts via OAuth2.0 ``authorization_code``s — accounts are being connected by it seems a double registration then queues up the deletion of that account. I have a feeling the culpable code exists here in the glue between oauth2-server-php and stripe-php itself."},"comment":{"url":"https://api.github.com/repos/onassar/PHP-StripeOAuth/issues/comments/99181512","html_url":"https://github.com/onassar/PHP-StripeOAuth/issues/3#issuecomment-99181512","issue_url":"https://api.github.com/repos/onassar/PHP-StripeOAuth/issues/3","id":99181512,"user":{"login":"onassar","id":612938,"avatar_url":"https://avatars.githubusercontent.com/u/612938?v=3","gravatar_id":"","url":"https://api.github.com/users/onassar","html_url":"https://github.com/onassar","followers_url":"https://api.github.com/users/onassar/followers","following_url":"https://api.github.com/users/onassar/following{/other_user}","gists_url":"https://api.github.com/users/onassar/gists{/gist_id}","starred_url":"https://api.github.com/users/onassar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onassar/subscriptions","organizations_url":"https://api.github.com/users/onassar/orgs","repos_url":"https://api.github.com/users/onassar/repos","events_url":"https://api.github.com/users/onassar/events{/privacy}","received_events_url":"https://api.github.com/users/onassar/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T18:55:34Z","updated_at":"2015-05-05T18:55:34Z","body":"Gotcha. Not sure I can help really  \r\nWhat is the \"issue\" that you've opened this ticket for?"}}