Skip to main content

Posts

How to obtain Access Token for MailChimp REST API?

Register an Application  In the MailChimp account, navigate to the Account page. In the account drop-down menu, click Extras and choose API Keys Under the “Developing an App?” heading, click Register and Manage Your Apps Click Register an App In the fields provided, input your application’s information and click Create When creation is successful, you’ll see an Aplication created message appear, and more information at the end of your form, including the Client_ID and Client Secret Obtain the Access Token It begins the authorization process by redirecting the user to the authorize_uri. This is a GET request, and response_type=code, client_id, and the redirect_uri are included. https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=12345&redirect_uri=http://vsvives.blogspot.com/ The user is prompted to enter their username and password to approve the application then you will redirect back to your redirect_uri as a GET request with the code parameter. h...

How to get token for ActiveCollab V5?

Using the URL " https://www.activecollab.com/ " to create a "Free Trial" account for ActiveCollab version5.For that, you need to pass the "Your Name or Organization, Email and Password". Send a POST request to " https://my.activecollab.com/api/v1/external/login" with "email" and "password" as parameters. Sample request { "password":"xxxxxxxxxx", "email":"emailAddress" } Response { "is_ok":true, "accounts":[ { "url":"https://app.activecollab.com/134362", "name":"134362", "display_name":"vivek (ID: 134362)", "class":"FeatherApplicationInstance" } ], "user":{ "first_name":"vive", "last_name":"siva", "intent":"O7NB7V96R0M48-xxxxxxxxxxxxxx...

How to register a new application in the Azure classic portal?

Sign in to the  Azure Management Portal  using your Office 365 Developer Site credentials. Click  Active Directory  on the left menu, then click on the  Directory  for your Office 365 developer site.       On the top menu, click  Applications. Click  Add  from the bottom menu. Click Add an application my organization is developing. Specify  the application name and select  WEB APPLICATION AND/OR WEB API   for  Type . Click the arrow icon on the bottom-right corner of the page. Specify a Sign-on URL and APP ID URI (E.g https://localhost:9443/commonauth) .  The App ID URI is a unique identifier for Azure AD to identify your app. It must be a unique value in your organization’s Azure AD . (For example, if your organization’s Mail ID is like " testUser@viveXYZ.onmicrosoft.com ", then App ID URI be like  https://viveXYZ.onmicrosoft.com/myNewApp ). Click the  checkbox  in th...

How to associate an Azure subscription with Office 365 account (Azure AD)?

  1.  Log on to the  Microsoft Azure Management portal  with your existing Azure credentials. 2. Select the  Active Directory  node, then select the  Directory  tab and, at the bottom of the screen, select  New.             3. On the  New  menu, select  Active Directory  >  Directory  >  Custom Create .              4. In  Add directory , in the  Directory  drop-down box, select  Use existing directory .       Check  I am ready to be signed out , and then select the check mark in the lower-right corner.                    This brings you back to the Azure Management Portal.  5. Log in with your Office 365 account information.       You will be prompted whether to use your directory with  Azure. Important ...

How to generate AccessToken and AccessTokenSecret using OAuth (v1.0a) protocol?

In this post, I am going to briefly explain how to generate the access token and secret using   OAuth (v1.0a) protocol, here I am using  Xero payroll API  Request URLs for generating tokens. " https://www.hurl.it/ " is used to generate the above token. Steps: 1) Before start, we need to create a Xero account (https://www.xero.com/signup/) and valid application (https://api.xero.com/Application/). Once you create app, you can get the "Consumer Key" and "Consumer Secret". 2) The next step is to obtain an Unauthorized Request Token Go to the "https://www.hurl.it/" then select " Add Authentication " and click on " OAuth 1.0a". In the " Destination", choose GET HTTP method and add the " https://api.xero.com/oauth/RequestToken " in the place, then add the " Consumer Key" and " Consumer Secret" which is obtained from APP, after adding click the "Launch Request" to get  ...

How to configure LDAP in Ubuntu?

Introduction LDAP, or Lightweight Directory Access Protocol, is a protocol for managing related information from a centralized location through the use of a file and directory hierarchy. It functions in a similar way to a relational database in certain ways and can be used to organize and store any kind of information. LDAP is commonly used for centralized authentication. In this post, we will cover how to install and configure an OpenLDAP server and how to encrypt connections to OpenLDAP using STARTTLS to upgrade conventional connections to TLS on an Ubuntu 14.04 LTS. Prerequisites Setting the Hostname and FQDN We should set up our server so that it correctly resolves its hostname and fully qualified domain name (FQDN). This will be necessary in order for our certificates to be validated by clients. We will assume that our LDAP server will be hosted on a machine with the FQDN of vive.example.com To set the hostname, use the hostnamectl command with the set-hostname option.  $ sud...

Google's Project Glass

What is Google's Project Glass? Google's Project Glass is Google's attempt to make wearable computing mainstream, and it's effectively a smart pair of glasses with an integrated heads-up display and a battery hidden inside the frame.  What's the difference between Google Glasses and Google Goggles? Google Goggles is software, an app that can search the web-based on photos and scans. Google Glass is hardware.     How does Project Glass work?   According to well-informed Google blogger Seth Weintraub , Google's Project Glass glasses will probably use a transparent LCD or AMOLED display to put information in front of your eyeballs. It's location-aware thanks to a camera and GPS, and you can scroll and click on information by tilting your head, something that is apparently quite easy to master. Google Glasses will also use voice input and output.     What are the Google Glass specifications ? The New York Times says that the glasses will run Android...