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

Libraries version problem, build break. #481

Closed
janekolszak opened this issue Jun 2, 2017 · 2 comments
Closed

Libraries version problem, build break. #481

janekolszak opened this issue Jun 2, 2017 · 2 comments

Comments

@janekolszak
Copy link

janekolszak commented Jun 2, 2017

Hi!
I wanted to update the idp library to:

  • use the latest Hydra 0.8.5
  • update paths to ory

but got those errors:

vendor/github.com/ory/hydra/oauth2/fosite_store_sql.go:119: not enough arguments in call to cm.GetClient
	have (string)
	want ("context".Context, string)
vendor/github.com/ory/hydra/oauth2/handler.go:276: too many arguments in call to h.OAuth2.NewAccessResponse
	have ("context".Context, *http.Request, fosite.AccessRequester)
	want ("context".Context, fosite.AccessRequester)
vendor/github.com/ory/hydra/oauth2/handler.go:346: too many arguments in call to h.OAuth2.NewAuthorizeResponse
	have ("context".Context, *http.Request, fosite.AuthorizeRequester, *Session)
	want ("context".Context, fosite.AuthorizeRequester, fosite.Session)

PR: janekolszak/idp#36

@janekolszak janekolszak changed the title Libraries version problem Libraries version problem, build break. Jun 2, 2017
@aeneasr
Copy link
Member

aeneasr commented Jun 4, 2017

should be resolved

@aeneasr aeneasr closed this as completed Jun 4, 2017
@janekolszak
Copy link
Author

Yes, it was a bug in glide, solved in more recent versions. It took HEAD from git instead of the right release.

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