openreview-py icon indicating copy to clipboard operation
openreview-py copied to clipboard

Valid token does not work when creating an instance of the Client class

Open carlosmondra opened this issue 5 years ago • 0 comments

Valid token does not work when creating an instance of the Client class unless 'Bearer ' is prepended in the token. The Client instance is created properly, but as a guest as it does not authenticate the user. Not working: client = openreview.Client(token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1...') This works: client = openreview.Client(token='Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1...')

carlosmondra avatar Jun 17 '19 14:06 carlosmondra