No Login via API behind ADFS
larsrei opened this issue · comments
Hello,
I try with API login but I see only the message
ERROR Invalid Usage: invalid character '<' looking for beginning of value
What must I change to login correct? What is the error here?
config.yaml
endpoint: https://jira.domain.de project: TEST authentication-method: api-token user: me login: me@domain.de
best regards,
Lars
From my experience it seems like you receive an XML/HTML document rather than application/json
Please take a look onto verbose output of:
jira login -vvv
beware of accidentally exposing security related data (tokens)
I have the same issue, and it's because our private jira is behind a two-factor authentication gateway (DUO) that doesn't support http over cli like this (needs a browser and cookie).