Can we update client id and secret id with out code redeploy - azure-webjobs

Can we update webjobs client id and secret id with out re deploying solution in Azure Portal ? Please give suggestions on this.

You could set the id and key in the Application settings.
And then use System.getenv("client");(I test with java) to get the value. I also update it as a WebJob, here is the log. It could show the client id.
Hope this could help you, if yous still have other questions,please let me know.

Related

This app is blocked This app tried to access sensitive info in your Google Account

I am having trouble with the error shown in the image. Does anyone know how to solve this problem?
I would like to obtain a refresh token to use the "YouTube Data API v3".
I tried the following behavior.
Create a WEB type Client ID in the GCP console in advance.
Access https://developers.google.com/oauthplayground/, set the client ID and client secret in "1.", select https://www...../youtube and https://www...../youtube.upload from YouTube Data API v3, and then Authorize APIs execution.
When asked which account to use for OAuth
If you select my brand account, Google will block it as shown in the image.
[What I tried to solve]
The newly created Google account was able to obtain a token.
→ However, I really need to use the Youtube API with a branded account I already have.
I have tried turning on "Less secure app access" in the security settings of my branded account, but this did not solve the problem.
The target brand account is not managed by GoogleWorkspace.
Any information would be appreciated, I will provide any information needed, so if anyone knows anything, please help me.

Get Google Project ID from Client ID + Secret?

I've got a Client ID and Client Secret for some Google-based authentication in a Django app. How do I use this information to get the actual Google project name/ID that is being used?
Using an API would be great but I'm down for clicking through a bit of web UI too.
P.S. -- I am unsure how to tag/categorize this question so I appreciate any help there.
My co-worker pointed out the obvious answer. Here's an example client ID:
GOOGLEAUTH_CLIENT_ID=1234567890-aksjfljsalfjslfjlksf.apps.googleusercontent.com
The digits preceding the first hyphen are the Google Cloud Project Number. Voila! No API call required. face smash
The Number can be used to look up the ID using gcloud projects list:
PROJECT_ID NAME PROJECT_NUMBER
example-river-417 Example 1234567890
asdfjkl Example2 1234567891

Azure LogicApp runs webjob and send email

I want to create an Azure LogicApps that has to launch and verify the status of a webjob. This is because I want to take an action if the webjob finishes its activities with an error and, in this case, the LogicApps has to send an email with an alert and restart the webjob.
I have tried to find some documentation about it on LogicApps site and in the editor but I can't find any connectors.
Any ideas, documentation or samples? Thank you
I thought my way could meet your requirements.
You could use a HTTP trigger to get the latest_run property with GET method. The URI would look something like https://{webapp-name}.scm.azurewebsites.net/api/triggeredwebjobs/{webjob-name}/. Then click advanced options, choose Basic Authentication. You could get username and password from publish profile or go to Webjobs on the Kudu then click the Properties. The trigger would be like the pic shows.
Then add a compose action, use HTTP Body as Inputs. After this , you could judge the status property. The whole flow would be like the below pic.
Note:when you use condition to judge status, you need to switch Designer to Code view, then change the value. The value should be "#outputs('Compose')['latest_run']['status']". Or you could refer my code view page.
Hope this could help you , If you still have other questions, please let me know.

Simple checkout is not working in Authorize .net

I have created a item in the Authorize.net account and get the code which create the button on website. I have tested it with test mode and order placed successfully. But when I try to make a payment using live mode then at checkout page of Simple checkout it gives me error with following message :
Transaction Declined
The configuration with processor is invalid. Call Merchant Service Provider.
I have called to the Merchant Service Provider and they said that all okay from their side. Some configuration settings are not okay with you integration.
If somebody can help me to fix this issue.
Thanks
Gaurav
You'll need to contact Authorize.Net Customer Support to ensure your account is configured properly, call 877-447-3938.

WSO2 API Manager - How to get app token (or keys) when we are an administrator

I'm working with WSO2 am and I'm testing some functionalities.
I' have just one thing I can't find.
How an administrator can find the credentials of an app who was created by an random user.
Maybe an example can help you :
I'm a random user and I create my app, after that, I subscribe to different apis and I get consumer key, secret key and I can generate token.
But the only people who watch this informations, it's me, an administrator can't see this informations.
And what I want it's use those informations (I don't know witch one for the moment) to create in the same time an other account with same credentials in an other platform. The transfer should be made at the hand for the moment but maybe after it will be automatised.
So where can I find those credentials when I am an administrator ? is it possible ?
Thank you very much for you time