I'm using Eventbrite developers api to get events from your side to my build.
For OAuth procedure, when I hit request like this...
https://www.eventbrite.com/oauth/authorize?response_type=token&client_id=<CLIENT_KEY>
Now, my concerns are :
1) Sometimes, I see Approve/Deny page, sometimes not.
Is it related to one id? Means, if I've approved once, then it wouldn't show approve/deny page again...?
2) If I pass invalid <CLIENT_KEY> in this url, then instead of returning to my site (redirection url) with error message i.e. "redirection_url?error=access_denied" it shows error message on your site : "The application you're trying to use has made an invalid request to Eventbrite. Please contact the application developer."
So, it doesn't allow me to edit the <CLIENT_KEY> on my page.
Please help me how do I handle this. Or tell me if I'm doing something wrong.
Suppose my client_id is 'xyz'. Now, for getting a token, I need to send request to https://www.eventbrite.com/oauth/authorize?response_type=token&client_id=xyz
Here, I've just mentioned client_id, not client secret. Now suppose, by mistake, instead of sending client_id value 'xyz', I sent 'xxyz'. Now, I won't get redirected back to my site showing error. It keeps the control on your site and displays message ("The application you're trying to use has made an invalid request to Eventbrite. Please contact the application developer.") there.
So, my concern is that, if it wont get directed back to my site, then how would I correct the token at your site. Is there any way, that helps me to sort out this problem.