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

New InterCloud backend #37

Open
2 tasks
pokeghosst opened this issue Sep 30, 2024 · 0 comments
Open
2 tasks

New InterCloud backend #37

pokeghosst opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pokeghosst
Copy link
Owner

pokeghosst commented Sep 30, 2024

Description

Even after several iterations, current approach to handling third party storage providers, especially the authentication part, is pretty clumsy. oslo/oauth2 can relieve a lot of pressure associated auth and token management.

Proposed solution

We’ll use Deno for runtime and oak for API routes. The business logic largely can be taken from current InterCloud with little to no changes. The main difference will be in auth management: instead of custom implementation we’ll rely on Oslo, sessions will be managed server-side, client will only receive an http-only cookie with session ID only. Access and refresh tokens will be stored server-side, probably in Redis.

Acceptance criteria

  • No functionality regression
  • The auth flow and interaction with the cloud provider works correctly on both web and Android platforms
@pokeghosst pokeghosst added enhancement New feature or request WIP Working on defining the issue, not ready for development labels Sep 30, 2024
@pokeghosst pokeghosst self-assigned this Sep 30, 2024
@pokeghosst pokeghosst changed the title Reimplement Google Auth Migrate to Auth.js Oct 1, 2024
@pokeghosst pokeghosst removed the WIP Working on defining the issue, not ready for development label Oct 1, 2024
@pokeghosst pokeghosst moved this to Ready to start in PokeBook Roadmap Oct 3, 2024
@pokeghosst pokeghosst changed the title Migrate to Auth.js Migrate to Arctic Oct 21, 2024
@pokeghosst pokeghosst changed the title Migrate to Arctic Migrate OAuth integrations to Oslo Oct 23, 2024
@pokeghosst pokeghosst changed the title Migrate OAuth integrations to Oslo New InterCloud backend Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready to start
Development

No branches or pull requests

1 participant