Eventbrite Oauth implementation

141 views
98 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
141
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Eventbrite Oauth implementation

  1. 1. Visual Walkthrough of Eventbrite‟s OAuth implementation
  2. 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. 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. 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. 5. For more information, check out the Developer Center: http://developer.eventbrite.com Or the full authentication docs: http://developer.eventbrite.com/docs/auth

×