cli/cmd
Mislav Marohnić 66c18b40f2
Handle SAML enforcement challenge from the server (#5054)
Whenever a SSO challenge gets issued by the server by means of a URL in
the `X-GitHub-SSO` response header, gh now additionally prints that URL
on the standard error stream.

This is achieved by installing a middleware to all HTTP requests and
storing the server challenge to a value accessible by `factory.SSOURL()`.
Such approach was made necessary mainly because of the
`shurcool-graphql` client which doesn't give access to response headers
when a GraphQL error case is encountered.
2022-01-19 14:22:22 +01:00
..
gen-docs Refresh man pages 2021-12-20 18:11:31 +01:00
gh Handle SAML enforcement challenge from the server (#5054) 2022-01-19 14:22:22 +01:00