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

400 bad request #119

Open
stevenswager opened this issue Sep 20, 2018 · 1 comment
Open

400 bad request #119

stevenswager opened this issue Sep 20, 2018 · 1 comment

Comments

@stevenswager
Copy link

The browser (or proxy) sent a request that this server could not understand.

Getting the error message after configuring the JAMF plugin

# The following is the secret key used by Flask to sign session cookies. It needs to be changed to a
# random value which is kept secret and is unique to your deployment. You should generate a key
# using a cryptographically-secure pseudo-random number generator such as the `os.urandom` Python
# function on modern systems. In short: `os.urandom(24)`.
SECRET_KEY = 'redacted'

# The following is the secret key used by Stethoscope to secure its API tokens. It needs to be
# changed to a random value which is kept secret and is unique to your deployment. You should
# generate a key using a cryptographically-secure pseudo-random number generator such as the
# `os.urandom` Python function on modern systems. In short: `os.urandom(32)`.
JWT_SECRET_KEY = 'redacted'

# For this example configuration, we're using a no-op authentication provider which treats everyone
# as having successfully authenticated as a privileged user.
LOGIN_MANAGER = 'null'

PLUGINS = {
  'jamf': {
    'JAMF_API_USERNAME': "redacted,
    'JAMF_API_PASSWORD': "redacted",
    'JAMF_API_HOSTADDR': "https://company.jamfcloud.com/JSSResource",
  },
}
@andrewmwhite
Copy link
Contributor

You're getting a 400 from Stethoscope or from JAMF? Please post the logs from Stethoscope so I can tell what's going on.

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