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

Misleading error message when using the SDK #686

Closed
mabruneau opened this issue Dec 7, 2017 · 1 comment
Closed

Misleading error message when using the SDK #686

mabruneau opened this issue Dec 7, 2017 · 1 comment
Labels
bug Something is not working. package/sdk

Comments

@mabruneau
Copy link

//
// ory/hydra/sdk/go/hydra/sdk.go:NewSDK
//
if c.ClientSecret == "" {
return nil, errors.New("Please specify a client id")
}
if c.ClientID == "" {
return nil, errors.New("Please specify a client secret")
}

@aeneasr
Copy link
Member

aeneasr commented Dec 8, 2017

Would you mind creating a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working. package/sdk
Projects
None yet
Development

No branches or pull requests

2 participants