Error: redirect_uri_mismatch error
The following image shows the result of what we just described:
At this point we are in the API Manager page and from the menu in the left section we must select the “Credential” item. Once done, in the central part of the page we can see, under the heading “ OAuth 2.0 client IDs “, the list of clients we have previously created for the use of the APIs.
The image below shows the page just described:
So, let’s add the domain where our application will be deployed as highlighted in orange below. In order to be able to making calls also in development and testing mode, it is useful to include localhost as well as authorized domain.
Our page now contains the information exported from Google Analytics via APIs.