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

Call of jwt_sign() and saml_sso_url() panics #243

Closed
alex-schneider opened this issue May 25, 2021 · 0 comments · Fixed by #242
Closed

Call of jwt_sign() and saml_sso_url() panics #243

alex-schneider opened this issue May 25, 2021 · 0 comments · Fixed by #242
Labels
bug Something isn't working

Comments

@alex-schneider
Copy link
Contributor

Describe the bug
Call of jwt_sign() and saml_sso_url() w/o or incomplete number of params panics.

To Reproduce
Steps to reproduce the behavior:

  1. Which Couper version? Run couper version or docker run avenga/couper version
    0 2021-05-25 dev

  2. Provide your configuration file *.hcl. Remove sensitive data.

server "jwt" {
  endpoint "/" {
    response {
      body = jwt_sign()
    }
  }
}
  1. Provide a curl call for reproduction
    3.1 You may use your browsers developer console and hit copy as curl.
curl -v 'http://localhost:8080/'

Expected behavior
No panic, better error log messages.

@alex-schneider alex-schneider added the bug Something isn't working label May 25, 2021
@alex-schneider alex-schneider linked a pull request May 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant