Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO login has broken #62

Open
marina-gonzalezalvarez opened this issue Feb 6, 2023 · 1 comment
Open

SSO login has broken #62

marina-gonzalezalvarez opened this issue Feb 6, 2023 · 1 comment

Comments

@marina-gonzalezalvarez
Copy link

marina-gonzalezalvarez commented Feb 6, 2023

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

@dolph
Copy link

dolph commented May 25, 2023

This is an issue for me authenticating against LogDNA in IBM Cloud with 2.0.0. The SSO URL opens correctly and declares me authenticated, but the CLI is immediately spinning with these errors that seem to continue forever.

$ logdna ssologin
To sign in via SSO, use a web browser to open the page https://app.us-south.logging.cloud.ibm.com/ext/cli-sso/...
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
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants