Authentication error in OAuth Sample Google Toolbox app - objective-c

I've ran into a problem and I don't know how to fix it. I've searched around to see if other people are having this issue but I can't find anything relative to my error. I'm using the OAuthSample example app. The google login works great but not the twitter login. The error that I'm getting is
Authentication error: Error Domain=com.google.HTTPStatus Code=401 "The operation couldn’t be completed. (com.google.HTTPStatus error 401.)"
I've filled in myConsumerKey and myConsumerSecret correctly so I don't understand what the deal is. The modal drop down window will not even drop down and load the url page so I can put the twitter username and password.

I've figured it out. You have to put a callback url in the twitter settings or the authentication will fail.

Related

Cannot Enable Firebase Authentication in Firebase Console

When trying to enable either the Google sign-in method, or the regular email/password methods, I get an error, something along the lines of "Unknown error encountered". For Google Auth, it says "CREDENTIALS MISSING" in the JSON response, while for Email/Password it says "INVALID_ARGUMENT".
I have tried deleting the project and starting a new one, but the same error persists. I'll include some snippets from the console log below, any help is appreciated!
UPDATE: I can apparently update these settings in Firefox without a problem? I'm not sure what's going on here, but I guess if others have this problem, I would try a different browser?
console log
Expanded JSON Response Google Auth

Etsy Authentication changes

I am working on Etsy Authentication. I have created an app and tried to test the Authentication via Postman in the same above process but I was not able to Authenticate I was getting an error
Error
And I was unable to Edit the App and also there is no option of "Request Full Access"
No Edit option and also no Request full access and the app state is in pending approval
Help me with the issue as I was previously able to Edit the App and I have tested few APIs as well but now I am unable to do it.
Postman image
If I hit this API in the browser as a response I need code but I was getting the above error
Your request isn't working because you haven't registered the callback URL for postman with your App, and of course you mentioned that you couldn't edit your app to add the callback URL.
There is a silly URL bug on the Etsy dev portal which sending you to a broken like when you click on your app to edit it.
Once you click on the App to edit it and end up at the 404 page,
Remove this from the URL and it will then work.
I have emailed the Etsy Developers to point out this bug so hopefully it will be resolved quickly.
To piggyback off of Gareth's answer:
Step 1:
In https://www.etsy.com/developers/edit/{account_id}/callbacks, add the following callback:
http://localhost:3003/oauth/redirect
Step 2:
Follow these instructions https://developer.etsy.com/documentation/essentials/authentication/, make sure to set:
redirect_uri=http://localhost:3003/oauth/redirect
*You don't actually need anything running at localhost:3003

Heroku login issue; Salesforce cannot complete request

when I try to login to my Heroku account, after I enter my 2FA code, I get the green 'checkmark' as usual, but afterwards I am greeted with a Salesforce error screen, saying 'Problem Approving Your Request'.
Error Message Salesforce
I have tried multiple times over the span of an hour, but I still get the same error...
Is it an issue on my side? or is something broken at Heroku?
Thanks
I got this exact problem when using Waterfox. I switched to Chrome and was able to log in. If you're using a non-tracking kind of browser that might be the problem.

Google Action API.ai Account linking debugging URL returning 500

I’ve followed this tutorial https://apiai-aws-heroku-nodejs-bots.blogspot.co.uk/2017/07/steps-for-apiai-and-google-account.html but when I go and grab by debugging URL which happens to be https://assistant.google.com/services/auth/handoffs/auth/start?provider=allergology-5fa9c_dev&scopes=https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile+https://www.googleapis.com/auth/admin.directory.resource.calendar&return_url=https://www.google.com/ and paste it into a new window I get Error 500 but no explanation.
I also tried from an incognito window. It does ask for my email and password but then returns the same error.
I’ve used Implicit Grant Type and I don’t have Add quick account linking enabled please ket me know if that’s not right?
When I try the CURL URL I get the message {“status”:{“code”:401,“errorType”:“unauthorized”,“errorDetails”:“Authentication parameters missing”}}
UPDATE - now when I try the basic Talk to Allergology action on the simulator I don’t even get the debug info anymore, but the message “Sorry this action is not available in simulation” :frowning:
Could you please help?
thanks
Morena
I've managed to work out what I need to do by following this answer How to authenticate user with just a Google account on Actions on Google?
In my case - Configure your project (in the cloud console) so that the Calendar API is enabled and that the OAuth2 client is correctly configured.
I also switched from Implicit Grant Type to Authorisation Code.
My app is almost working, I am now having other issues, but at some point the Access Token was coming through with the request.

Cannot access tumblr's API console

For some strange reason, I can no longer access tumblr's API console:
https://api.tumblr.com/console//calls/user/info
It takes me to the authorize page, but once I click "allow" I just get redirected back to the login page. Strangely nothing has changed, my python script still has access. I tried creating a new account, new app, on a new IP. But I still can't get into that stupid console!
I got an email from the developers at tumblr, it looks like they fixed the problem:
My apologies for the extremely late response. We had an issue with this page which has since been fixed.
Hope it didn't cause you too much trouble!