syn.login('asdfasdfasdf') should fail

Description

What does it do now?

Environment

None

Activity

Show:
Chris Bare
February 3, 2015, 7:26 PM

Also, syn.login(apiKey='...') should work. It now requires email/username without much reason.

Ziming Dong
April 27, 2017, 9:57 PM
Edited

The username is required for _generateSignedHeaders() and if the username does not match the API key we get back a 401 error.
Also it seems that syn.login('asdfasdfasdf') only works if there is a .synapseConfig with [authentication] defined otherwise it will fail.

Xavier Schildwachter
May 26, 2017, 5:41 PM

Verified fixed py-1.7.

Assignee

Ziming Dong

Reporter

Chris Bare

Labels

Validator

Xavier Schildwachter

Development Area

None

Release Version History

None

Components

Fix versions

Affects versions

Priority

Minor
Configure