python-unsplash icon indicating copy to clipboard operation
python-unsplash copied to clipboard

Unable to authenticate

Open coolbunnyx opened this issue 1 year ago • 1 comments

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

coolbunnyx avatar Feb 11 '24 01:02 coolbunnyx

Hey @coolbunnyx , did you fix this problem because I am having the same issue?

mainpyp avatar Jun 10 '24 17:06 mainpyp