Dashboard > SmugMug API > Home > OAuth

View Attachments (0) Info

OAuth

OAuth

What's OAuth ?
An open protocol to allow secure API authentication.

Huh ?
Basically, it's a method that allows users to authorize apps or services to use their SmugMug account without having to provide their SmugMug username or password.

Web Resources

Terminology

  • Consumer - The application or service.
  • Service Provider - SmugMug
  • End User - The SmugMug user who authorizes the consumer to access their account.
  • Request Token - The unique token used to initiate the authorization.
  • Access Token - The unique token used to access an end user's account. An authorized request token is exchanged for an access token.

SmugMug Specifics (Service Provider)

API Methods smugmug.auth.getRequestToken and smugmug.auth.getAccessToken are also available.

Authentication Flow

Obtaining an unauthorized request token

  1. The application/service asks for an unauthorized request token.
  2. SmugMug returns an unauthorized request token.

Obtaining User Authorization

  1. The application/service redirects the end user to SmugMug to authenticate and authorize the application/service to access his/her account.
  2. The end user logins into their SmugMug account.
  3. The end user authorizes the application/service to access his/her account.
  4. If application/service has a callback url, the end user is redirected automatically after authorization. Otherwise, the end user closes the browser window and returns to the application or service manually.

Obtaining an Access Token

  1. The application/service presents the authorized request token.
  2. SmugMug returns an access token
  3. The application/service stores the access token.

Browse Space
- Pages
- Labels
- Attachments
- Mail
- Bookmarks
- News
- Activity
- Advanced

Explore Confluence
- Popular Labels
- Notation Guide

Your Account
Log In

 

Other Features

View a printable version of the current page.

Add Content


Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki.
Bug/feature request - Contact administrators