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

OAuth2 client : missing calls to ungetOAuthService and deleteServiceAndAccessToken #14818

Open
23 of 27 tasks
lolodomo opened this issue Apr 15, 2023 · 6 comments
Open
23 of 27 tasks
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@lolodomo
Copy link
Contributor

lolodomo commented Apr 15, 2023

18 bindings use the OAuth2 client provided by the OH core framework.

Only 10 bindings are calling ungetOAuthService. It could be missing for the following bindings:

Only ecobee, mielecloud and netatmo bindings are calling deleteServiceAndAccessToken. It could be missing for the following bindings:

3 bindings are calling addAccessTokenRefreshListener but not removeAccessTokenRefreshListener:

@lolodomo lolodomo added the bug An unexpected problem or unintended behavior of an add-on label Apr 15, 2023
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@ree.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@ree.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@ree.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
lolodomo added a commit to lolodomo/openhab-addons that referenced this issue May 5, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
jlaur pushed a commit that referenced this issue May 5, 2023
* [googlestt] Dispose oAuth2 service

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
jlaur pushed a commit that referenced this issue May 5, 2023
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
jlaur pushed a commit that referenced this issue May 5, 2023
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
jlaur pushed a commit that referenced this issue May 5, 2023
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@lolodomo
Copy link
Contributor Author

@jlaur : it is a pity, we did not update the two last ones: bticinosmarther and mielecloud.

@jlaur
Copy link
Contributor

jlaur commented Jul 12, 2023

@jlaur : it is a pity, we did not update the two last ones: bticinosmarther and mielecloud.

Yes. For mielecloud I created #14783, but this could be done separately.

matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
* [googlestt] Dispose oAuth2 service

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…b#14943)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…hab#14935)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…14934)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
* [googletts] Dispose oAuth2 service

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
* [myq] Remove the access token when the thing is removed
* oAuthService.removeAccessTokenRefreshListener added

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…penhab#14946)

* [livisismarthome] Remove the access token when the thing is removed

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…b#14945)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…b#14971)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…ab#14979)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…14947)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Aug 9, 2023
…ab#14942)

* [mercedesme] Remove the access token when the thing is removed

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Matt Myers <mmyers75@icloud.com>
@lsiepel
Copy link
Contributor

lsiepel commented Nov 18, 2023

@lolodomo only a few bindings are left, besides time, any specific reason they are not checked/fixed yet?

@lolodomo
Copy link
Contributor Author

@lolodomo only a few bindings are left, besides time, any specific reason they are not checked/fixed yet?

I suppose @jlaur and me switched to other PRs.

austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
* [googlestt] Dispose oAuth2 service

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…b#14943)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…hab#14935)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…14934)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
* [googletts] Dispose oAuth2 service

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
* [myq] Remove the access token when the thing is removed
* oAuthService.removeAccessTokenRefreshListener added

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…penhab#14946)

* [livisismarthome] Remove the access token when the thing is removed

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…b#14945)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…b#14971)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…ab#14979)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…14947)

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this issue Mar 27, 2024
…ab#14942)

* [mercedesme] Remove the access token when the thing is removed

Related to openhab#14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

4 participants