sgn icon indicating copy to clipboard operation
sgn copied to clipboard

Brapi connection failing when authentication is required

Open chris263 opened this issue 1 year ago • 3 comments

Expected Behavior

The connection works fine if authentication is not required. However, if we set require_authentication = 1 the connection is not completed as expected, then making returning a message as following:

Screenshot from 2024-08-19 14-03-17

Here is the code: https://github.com/solgenomics/sgn/blob/f2872840611d56c1919623816404804f9f274c29/lib/SGN/Controller/AJAX/BrAPI.pm#L288

For Bugs:

Environment

Steps to Reproduce

chris263 avatar Aug 19 '24 18:08 chris263

Which database is this from?

lukasmueller avatar Aug 20 '24 14:08 lukasmueller

I just set yambase with "brapi_require_login 1" and it is showing the same error at: https://yambase.org/brapi/v2/calls

chris263 avatar Aug 20 '24 15:08 chris263

Maybe @bellerbrock has some thoughts about it?

chris263 avatar Aug 21 '24 15:08 chris263

Fixed in #5182

lukasmueller avatar Jan 30 '25 16:01 lukasmueller