Machnie-to-machine authentication

schalonerschaloner Registered Users Posts: 2 Beginner grinner
Hi,


I've been given access to the SmugMug API to build a tool that, in part, uses SmugMug as an image repository. Looking at the documentation, all authentication support seems to be based on OAuth 1, which doesn't really fit with a machine-to-machine system. Is there any way to authenticate and get an access token without using OAuth, or am I on the wrong path here?

Thanks,
Steve

Comments

  • ktvoelkerktvoelker Registered Users Posts: 25 Big grins
    edited January 20, 2015
    You should use OAuth, but you only need to authorize your API key once (assuming you are working against a single SmugMug account), because the access token will be valid indefinitely.
    Karl Voelker
    Sorcerer and API Guy at SmugMug
  • schalonerschaloner Registered Users Posts: 2 Beginner grinner
    edited January 21, 2015
    Great, I'll give that a try.

    Thanks!
Sign In or Register to comment.