-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
[oauth] scope in AccessTokenResponse #1888
Comments
@cweitkamp : any indea ? |
Signed-off-by: clinique <[email protected]>
@cweitkamp : hello, just trying to integrate the merged PR in my binding, I get this error :
I suppose I've got a visibility issue from my class toward the core but can't figure how to solve it. Would you have an idea ? |
Where did you put the new class? Into an internal package? Or do you expose it? |
No, it's not an internal package, it's org.openhab.binding.netatmo
with or without class name unsuccessfully as of now. |
@cweitkamp : I'm wondering wether I should not be using |
tbh I am not sure. We maybe need a different classloader here. Just trying to figure out if we have a similar part of code somewhere else in OHC. |
Reverts openhab#1891 Fixes openhab#1888 Signed-off-by: Jacob Laursen <[email protected]>
…#3537) * Add possibility to inject custom GsonBuilder Reverts #1891 Fixes #1888 Signed-off-by: Jacob Laursen <[email protected]>
* Added capability for custom deserializer Closes openhab#1888 Signed-off-by: clinique <[email protected]> GitOrigin-RevId: f7e0339
…openhab#3537) * Add possibility to inject custom GsonBuilder Reverts openhab#1891 Fixes openhab#1888 Signed-off-by: Jacob Laursen <[email protected]> GitOrigin-RevId: eb6b6b9
Hello,
I'm reviewing the netatmo binding and would like to remove all external dependencies. Thus, using OAuthFactory.
This works nearly well, except that Netatmo API response is formed this way :
While in the API documentation, the scope should not be part of the answer, even worth, its a string array instead of the expected string.
So OAuthConnector fails to deserialize the AccessTokenResponse.
While on one hand, I can ask Netatmo (that I did) to respect better the RFC, I'm quite realistic regarding my chance to succeed.
Does anybody have an idea on how I could make this foot fit in the shoe ?
The text was updated successfully, but these errors were encountered: