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

token authentication url

Open btw1027 opened this issue 8 years ago • 3 comments

I think the token url is incorrect for the PublicAPI class

is this: self._token_url = https://api.orcid.org/oauth/token

should be this instead? self._token_url = "https://orcid.org/oauth/token"

btw1027 avatar Oct 21 '17 02:10 btw1027

@btw1027 What kind of error is displayed?

MSusik avatar Oct 31 '17 12:10 MSusik

There wont be an error, both endpoints work the same. However we do recommend using https://orcid.org/oauth/token now.

Cheers, Rob

On Tue, Oct 31, 2017 at 5:53 AM, Mateusz Susik [email protected] wrote:

@btw1027 https://github.com/btw1027 What kind of error is displayed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ORCID/python-orcid/issues/20#issuecomment-340752969, or mute the thread https://github.com/notifications/unsubscribe-auth/AALx5Frx5Nss-FK3UoF7jQhXRwN8IQ_iks5sxxg6gaJpZM4QBaJ5 .

-- Robert Peters [email protected] 805.440.9056

rcpeters avatar Oct 31 '17 14:10 rcpeters

Using https://api.orcid.org/oauth/token now leads to a 400 error. _token_url should be updated.

martijnende avatar Feb 21 '22 12:02 martijnende