Stuck on "send request" of oauth 2.0 playground - oauth2-playground

I'm trying to reconnect my gmail to my wordpress site. I can't seem to get passed the sections of oauth 2.0 playground just after getting the token, adding the URL. When I push "send request" the error is "The state parameter is empty!" I could use some suggetions. Thanks!

Related

PayPal REST API: "Client Authentication failed" in sandbox mode

I am currently trying to implement the paypal api to get the details of an order, but it shows me the following error:
Uncaught PayPalHttp\HttpException: {"error":"invalid_client","error_description":"Client Authentication failed"} in vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php on line 215
I am using the data that paypal gives me of the client id and the secret that is checked in: https://developer.paypal.com/developer/applications/ following the official documentation, after i set up my server to make calls to PayPal, im currently following this guide: https://developer.paypal.com/docs/checkout/reference/server-integration/get-transaction/
I've been trying to find the solution for two days without much success, do you know why paypal marks this error?
As a note, I am still in sandbox (the client and the secret are from the sandbox too) and I am using the default application created by paypal, does it have something to do with it?
It appears the request for an access token is failing, but we cannot comment specifically without seeing a full request+response log added to your question's details.
Ensure you are connecting to api(-m).sandbox.paypal.com with HTTP basic authentication ("Authentication: Basic ..." header) that has a base64 encoded clientid:secret of a Sandbox REST API app, and that the POST data is grant_type=client_credentials
Documentation: https://developer.paypal.com/docs/api/overview/#get-credentials

Account linking in Actions console : how to get "Google Sign In Client Information" for "Google Sign in" linking type?

In Actions console, i try to setup account linking with 'Google Sign in' type :
in Develop/Account linking menu,
i have chosen 'Google Sign in' type
when "Google Sign In Client Information" is displayed, input fields are empty.
I understood that the input fields had to contain 'Authorization URL' and 'Token URL'.
How to get this information to insert it in my code
thanks
Thanks to the response of Amol Shiledar, I just understood:
there is no need to consider the Authorization URL and Token URLs fields.
It is enough to get the client Id (as indicated by Amol Shiledar) and to indicate it in the code of the fulfillment:
const app = dialogflow ({
clientId: CLIENT_ID
});
Now it works well :-)
Update October 2019
Google seems to have updated their Google projects again. You can now see your Client ID under the Google Sign-in option again.
The Authorization URL and Token URL are supposed to be empty. You need to provide the information yourself. The authorization URL and token URL are endpoints that you will build or a OAuth service such as auth0 that you use to verify the logins from your users to a service.

Error 12600: Authorization Denied with Netbanx payment iframe

TL;DR : I am getting a "12600: Authorisation Denied (12600)" error and can't find what that means in Netbanx/Paysafe's documentation.
Background:
I am using the Netbanx credit card services.
The request is built server-side to obtain a url, which is then embedded in an iframe on the application for clients to pay.
It works like a charm in test mode; the iframe displays Netbanx' form, the client enters their info, clicks "Pay", and the payment is authorized. So far so good.
Now, I've moved to live mode. Configurations (account numbers, API key and API secret) are all valid and used on other projects. The payment request is still correctly built, I obtain a url from Netbanx and it correctly displays the payment form. I enter valid credit card information, click pay, and then, boom: failure page, with error 12600: Authorization denied. I cannot find any info related to that error code. Has this occured to anyone? What does this code mean? Any details would be appreciated!
Thanks!
I believe the issue here relates to Paysafe test API credentials being used on the production environment. These credentials do not translate from test > production as a separate set would need to be used for security reasons.
If you believe that you are ready to go live, you can login to the BackOffice "https://login.test.netbanx.com/" and click the "Go Live" button to start the process!

Get messages from Gmail via HTTPS GET call

I'm working on an iOS application and what I'd like to do is have the app ping one universal Gmail account to check for the most recent email.
I went through the guide from Google at https://developers.google.com/gmail/api/quickstart/ios?ver=swift, but the result did not work. After some googling, it appears that some functionality may have been changed, but they haven't updated their documentation yet.
Is there a way to send credentials via https to Gmail and get email messages back? I have an OAuth key via the Gmail API manager, but when I pass it as "access_token", the response says "Login Required".
AFAIK, an error response "Login Required" can be encountered if you try to list the buckets for a project that do not provide an authorization header.
If we check Users.messages: get, it's noted that it requires authorization.
For this, you may want to check Authorizing Your App with Gmail wherein you will find these basic authorization pattern:
During development, register the application in the Google API Console.
When the app launches, request that the user grant access to data in their Google account.
If the user consents, your application requests and receives credentials to access the Gmail API.
Refresh the credentials (if necessary).
Furthermore, if your application needs to access Google APIs on behalf of the user, you should use server-side flow. Please see Implementing Server-Side Authorization for more information.
Sometime back I was involved in writing a sample application to access email from gmail but using C++ on windows. The code is at https://github.com/Panchatcharam/simple_gmail_api. I was able to successfully get emails.

PayPal OpenId Connect with MVC

Has anyone had luck getting Login With PayPal to work with MVC4? I've tried creating an extension of OAuth2Client, as well as a separate extension of OpenIdClient. Both had the same problem, which was also the problem that occurs directly from a browser.
I copy/paste the endpoint URL (with querystring) into the browser, but it always goes directly to the callback URL without displaying any PayPal-hosted login form. I can verify that the endpoint is correct by removing or altering the redirect_uri (which results in a PayPal error page.)
I am logged out of PayPal through the browser before attempting the tests, and I've tested with Chrome and IE9.
Any ideas? Thank you!
Apparently, PayPal OpenId Connect does not support the "openid" scope. This was verified for my application by using the Login With PayPal button creator and seeing "invalid scope" appended to the redirect's querystring.
The solution (remove "openid" from the scope) presents its own conundrum. According to the spec for OpenId, this scope is REQUIRED. According to the documentation for PayPal, this scope should be sent at a minimum. This looks like a problem that will be fixed, but if fixed, will the attribute be required and therefore break my application? Or will they opt to make the attribute optional.