I am using cloud code, and I have two Parse accounts. I have authorized the first Parse account, but I want to add cloud code to the new Parse account, but whenever I do Parse add, it automatically takes me to the list of apps with the parse account I have authorized, how do I pull up the apps from the other account?
According to the Parse Github Issues Page, there is no logout, but you can change the default key you're using by parse configure accountkey -d
Hope that helps!
Related
I am trying to access logs from an app. Apparently, the only way to do that is the herkoku client.
I am working remotely. When I do
heroku login -i
Error: Your account has MFA enabled; API requests using basic authentication with email and password are not supported. Please generate an authorization token for API access.
But there is no link provided where or how to get such a token.
And the documentation does not mention the creation of such a token. Only how to store it.
Any ideas?
While logged in to the Heroku web interface, go to "Account settings" (in the menu under your avatar in the top right) and scroll down to "API Key". Generate one if there isn't one already, or click "Reveal" to see the existing one.
Now, re-run heroku login -i, and enter your email as normal, but enter that API key instead of your account password.
The above method works. But: You have to type this password into the CLI. Cutting and pasting does not work.
I've been crawling the web but haven't been able to figure this out.
I want to write an app with the following behavior: it presents existing users of Google Cloud with a login window to which they enter their Cloud credentials - user and password. With those credentials, I want to programmatically access and fetch their respective billing data so I can later display it to them. This should obviously be able to serve multiple users.
I don't understand how to get past the very first step, which is - what do I do after I get the credentials? Is there a client library method to which I supply them and then gain access to the user's info?
You can use Firebase Authentication or Google Identity Toolkit, see sample here
I'm trying to run a ruby script that does some analysis via the AdSense API. It seems like the AdSense API is written in the context of a web app and then a user that logs in. My use case is different; I want to run a script against my own AdSense account.
Is this possible? Or do I need to set up a web site flow to get an access token?
if you want to run e.g. a nightly script against your Adsense account to generate a report you need to:
do the auth flow once
request and store a refresh token
use that refresh token to authorize your report going forward.
For an example, if you take a look at https://github.com/googleads/googleads-adsense-examples/blob/master/ruby/v1.x/adsense_common.rb and look at CREDENTIAL_STORE_FILE ... that is the name of the file with the token in it and you can see the auth options starting around line 50
thanks,
Dean
On apps like twitter and snapchat, if you changed the password from the web, it wouldn’t allow you to get into the app without re-authenticating with the new password. When changing your password with Parse Open Source Framework, does it implement this functionality automatically on mobile or would the developer need to implement it themselves?
You have to do it by yourself. Check the following tutorial, section Handling an Invalidated Session:
https://parse.com/tutorials/integrating-facebook-in-android
When I try to follow the tutorial at Cloud Code Guide, it says to create a new app with parse and login. After entering my user name and password, it says "Authorization Failed." I'm 100% sure I'm using the correct email and password for GitHub. How can I use the command line tool if my account is linked with GitHub?
I'm using the latest version of the parse command line.
Log in to parse.com and go to your account page. Click the update button and set a password on your Parse account. It should allow you to set one without asking for a 'current' password if you signed up via GitHub. Now you can use that password to log in with the Parse CLI.