2. 1.) Include a „Connect with Eventbrite‟ button
https://www.eventbrite.com/oauth/authorize?response_type=code&client_id=[YOUR_CLIENT_KEY]
2.) Behind the button, add this URL:
3. 3.) When a user clicks on the button, the user will be redirected to
Eventbrite to „Allow‟ or „Deny‟ access to the 3rd party application.
4. 4.) Once a user clicks „Allow‟, Eventbrite will redirect the user to the
application‟s associated redirect URL (find or set your applications
redirect URL here: http://eventbrite.com/myaccount/apps ).
5.) There will be a “code” query parameter on the end of the redirect
URL representing an access code
6.) You must exchange this code (and your client secret) for an
Access Token by making a post request to the following URL:
https://www.eventbrite.com/oauth/token
Important: This POST must contain the following urlencoded data
along with a “Content-type: application/x-www-form-urlencoded“
header
FINISHED! The subsequent “POST“ will contain the user’s
access_token.
code=THE_USERS_AUTH_CODE&client_secret=YOUR_CLIENT_SECRET&client_id=YOU
R_API_KEY&grant_type=authorization_code
5. For more information, check out the Developer Center:
http://developer.eventbrite.com
Or the full authentication docs:
http://developer.eventbrite.com/docs/auth