Skip to content

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Aug 21, 2025

An initial draft of using a library to be an oauth server, rather than implementing ourselves.

Using an in memory store for access tokens atm, and using our oauth apps.

Using setup-test-app.sh and test-manual-flow.sh to verify it works.

Screencast.From.2025-08-21.11-57-07.webm

Obviously a lot of work to still do.

Comment on lines 28 to 29
// TODO: Remove the memory store entirely and implement all methods to use the database.
storage.MemoryStore
Copy link
Member

Choose a reason for hiding this comment

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

I think this is a good use-case for our idea of a separate OAuthStore as opposed to just throwing in a database.Store.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agreed. I fully intend to minimize the surface area of the db required

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