Authentication

GNU MediaGoblin uses OAuth1 to authenticate requests to the API. There are many libraries out there for OAuth1, you’re likely not going to have to do much. There is a library for the GNU MediaGoblin called PyPump. We are not using OAuth2 as we want to stay completely compatable with GNU MediaGoblin.

We use Registering a Client to get the client ID and secret.

Endpoints

These are the endpoints you need to use for the oauth requests:

/oauth/request_token is for getting the request token.

/oauth/authorize is to send the user to to authorize your application.

/oauth/access_token is for getting the access token to use in requests.

Table Of Contents

Previous topic

Registering a Client

Next topic

Uploading Media

This Page