SSO login has broken
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- authentication, cli
Research direction
Start with the logdna ssologin command and the supplied configuration, focusing on SSO_URL, SSO_LONG_PATH, and the token field. Reproduce the repeated disabled error and trace how the CLI obtains the token. Done means an organization using SSO can complete login without manually guessing the token.
Written by the indexing model from the issue text.
Description
Hi, up until recently (let's say ~2 months ago), I was able to use the SSO login to use the logdna-cli (the only way my organization allows the login). Recently, however, this seems to not be possible anymore and I am getting the following error:
$ logdna ssologin
To sign in via SSO, use a web browser to open the page https://logdna.com/sso/faaf2865
Error: ssologin is disabled, use login or create conf file manually
Error: ssologin is disabled, use login or create conf file manually
Error: ssologin is disabled, use login or create conf file manually
Error: ssologin is disabled, use login or create conf file manually
Error: ssologin is disabled, use login or create conf file manually
^C
I have also tried to generate the conf file manually in the mean time (until a fix for this is incorporated):
VERSION_CHECK_URL = https://repo.logdna.com/linux/version
UPDATE_CHECK_URL = https://repo.logdna.com/linux/logdna.gz
UPDATE_CHECK_INTERVAL = 86400000
SSO_URL = https://logdna.com/sso/
SSO_LONG_PATH = /ext/cli-sso/
SSO_POLL_INTERVAL = 5000
DEFAULT_CONF_FILE = /home/<username>/.logdna.conf
LOGDNA_APIHOST = api.logdna.com
LOGDNA_TAILHOST = tail.logdna.com
LOGDNA_APPHOST =
LOGDNA_APISSL = true
SUPPORTS_COLORS = true
updatecheck =
email =
account =
key =
token =
servicekey =
last_timestamp =
However, I don't know how to retrieve the appropriate token value. Is there an easy way to obtain my personal token for completing the corresponding field in the snippet enclosed above?
Thanks a lot in advance
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from logdna/logdna-cli
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
logdna/logdna-cli#65 · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
logdna/logdna-cli#59 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
logdna/logdna-cli#57 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
logdna/logdna-cli#55 ·
-
CI enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
logdna/logdna-cli#51 · 2 comments · 2 reactions ·
All issues in logdna/logdna-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
area-clientside-dartpad
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
alphagov/public-asset-checker#378 · 1 comment ·
Maintainers usually reply within 1 day
-
S: triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/rocketmq-dashboard#7242 ·
Maintainers usually reply within 3 days