statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
30 stars 1 forks source link

Database driven OAuth provider #1094

Open jasonvarga opened 6 months ago

jasonvarga commented 6 months ago

The OAuth Provider class stores a map of user ids and oauth ids in a file. It does still work if you are putting users in a database, but if your server setup is intentionally avoiding files, it might be an issue.

Our Eloquent user repository could also have an associated Provider class that handles resolving users through the database and not that file.