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

Fix authentication for bots #678

Open
Tracked by #665
AminArria opened this issue Jun 4, 2024 · 0 comments · May be fixed by #703
Open
Tracked by #665

Fix authentication for bots #678

AminArria opened this issue Jun 4, 2024 · 0 comments · May be fixed by #703
Assignees
Milestone

Comments

@AminArria
Copy link
Contributor

#665 left an open issue for authentication and bots, currently we still support unauthenticated joining a match because bots don't have an authentication mechanism

To solve this we should have a way to generate a bot JWT that we can use for bots to connect, this JWT doesn't have to be unique per game nor per bot. We can have a sort of global JWT used by all bots and that we cache in the bot_manager app. Bonus point, if we reuse a device_id then we simply use the existing /auth/refresh-token endpoint for refreshing this token

@AminArria AminArria added this to the Week 9 milestone Jun 4, 2024
@AminArria AminArria changed the title Fix authentication gap due to unauthenticated bots Fix authentication for bots Jun 4, 2024
@AminArria AminArria self-assigned this Jun 12, 2024
@AminArria AminArria linked a pull request Jun 12, 2024 that will close this issue
4 tasks
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 a pull request may close this issue.

1 participant