wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.7k stars 1.13k forks source link

Refactor OAuth implementation #2092

Open infomiho opened 3 weeks ago

infomiho commented 3 weeks ago

We should reorganise the OAuth TS implementation so that it's easier to handle and understand the larger number of params the helper functions pass and receive. Maybe we can do it within a class where can have access to common context and we don't need to pass along that much params to each helper function.

Related to this comment: https://github.com/wasp-lang/wasp/pull/1993#discussion_r1627325368