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

[Community] handle auto refresh jwt token #2742

Merged
merged 1 commit into from
Sep 3, 2024
Merged

[Community] handle auto refresh jwt token #2742

merged 1 commit into from
Sep 3, 2024

Conversation

GuillaumeDSM
Copy link
Member

No description provided.

@GuillaumeDSM GuillaumeDSM self-assigned this Sep 3, 2024
@GuillaumeDSM GuillaumeDSM enabled auto-merge (rebase) September 3, 2024 13:52
Copy link
Member

@Herklos Herklos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix & tests!

"SIGNED_IN", session
)

# now raising "APIError: JWT expired"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

octobot/cli.py Outdated
@@ -229,6 +228,7 @@ async def _get_authenticated_community_if_possible(config, logger):


async def _async_load_community_data(community_auth, config, logger, is_first_startup):
is_first_startup = True #tmp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep it ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:o no !

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up

@GuillaumeDSM GuillaumeDSM merged commit 58a0e58 into dev Sep 3, 2024
11 checks passed
@GuillaumeDSM GuillaumeDSM deleted the auth branch September 3, 2024 14:30
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

Successfully merging this pull request may close these issues.

2 participants