Closed pmundt closed 4 years ago
Thank you, this looks good! You also need to update the dependencies to the latest fosite version for the CI to pass, and for the example to work when people use Go Modules.
@aeneasr this is now done - I've done the go mod conversion and updated the travis script accordingly.
Awesome, thanks!
The upstream fosite compose API underwent a number of changes which were not reflected here:
authorizationserver/oauth2.go:35:45: not enough arguments in call to compose.NewOAuth2HMACStrategy have (compose.Config, []byte) want (compose.Config, []byte, [][]byte) authorizationserver/oauth2.go:38:62: not enough arguments in call to compose.NewOpenIDConnectStrategy have (rsa.PrivateKey) want (compose.Config, *rsa.PrivateKey)
Update accordingly - closes #16
Signed-off-by: Paul Mundt paul.mundt@adaptant.io