Click here to Skip to main content
15,742,303 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello Sir,

I have done code for getting the list of google analytics accounts and its works fine with a static clientid.

I have used this link:

My issue is: 
=> I want this functionality for all users means my users logged in from their Gmail credentials and they all can see their google analytics accounts list but google gives me an error with "origin_mismatch"

I want this without set origin because I can not set origin for all users.

I am new in google analytics. pls give a solution for solving my issue.


What I have tried:

I have done R&D on google for find this problem solution but not getting any solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900