ankitpokhrel / ankitpokhrel/jira-cli
Fails to account for SSO logins
- Lingua principale
- Go
- Stelle
- 6k
- Fork
- 413
- Merge medio
- 2g 3h
- PR unite (30g)
- 1
Descrizione
**Describe the bug**
when using `jira init` it requests an email and immediately errors with `401 Unauthorized`. This is, presumably, because at our company we use Single Sign On to authenticate, not our emails.
Short term suggestions:
* document that SSO isn't supported in the Readme (so that folks don't bother installing it if they can't use it)
* ask what form of authentication the person uses before requesting the email and indicate that SSO isn't supported if they choose it, or if it's possible to determine that SSO is what's configured when you query the server, just indicate that that's the problem in the error message.
**Please provide following details**
1. JiraCLI Version:
```
(Version="1.1.0", GitCommit="3b93e147eac468ad985bdece27469153b4bb2814", CommitDate="2022-08-14T08:10:40+00:00", GoVersion="go1.18.3", Compiler="gc", Platform="darwin/amd64")
```
2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
```
Jira cloud
```
3. What operating system are you using? Also mention version.
```
macOS Monterey 12.6
```
4. What terminal are you using? Also mention version.
```
iterm2 build 3.5.0beta7
```
**To Reproduce**
Steps to reproduce the behavior:
1. have a jira cloud account that uses SSO
2. run `jira init` and give it a valid email address
3. See error
**Expected behavior**
I'd expect it to either work, or to provide me with an indication than SSO isn't supported.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.