Skip to content

Unable to authenticate  #19

Description

@coolbunnyx

I registered an application on unsplash.com, and it associates with following information
Application ID
Access Key
Secret key
Redirect URI

I tried to match the above information to the arguments as follows
client_id = "Application ID"
client_secret = "Secret key"
redirect_uri = "Redirect URI"
code = ""

auth = Auth(client_id, client_secret, redirect_uri, code=code)
api = Api(auth)

However, I am getting Error message (1) if I use Access Key as "code", and getting Error message (2) if leaving "code" as none.
Error Message (1)
Unsplash Authentication Error: (invalid_client) Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.

Error Message (2)
OAuth error: The access token is invalid

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions