logto-io / go

☁️ Logto Golang SDKs.
MIT License
19 stars 13 forks source link

fix(client): add resource when calling FetchTokenByRefreshToken #64

Closed xiaoyijun closed 1 year ago

xiaoyijun commented 1 year ago

Summary

should pass in resource props when calling FetchTokenByRefreshToken

Testing

We can get the correct access token:

image

Checklist

OR

linear[bot] commented 1 year ago
LOG-5913 getAccessToken by a given resource

should pass in resource props when calling FetchTokenByRefreshToken [https://github.com/logto-io/go/issues/63](https://github.com/logto-io/go/issues/63) [https://github.com/logto-io/go/blob/master/client/client.go#L109](https://github.com/logto-io/go/blob/master/client/client.go#L109)