I would like to add OAuth to the entire application. Ideally at the edge layer before the frontend client is even served.
Something like this:
Browser => Edge Auth => React app.
Something equivalent to this AWS example
The server in this example could then read a secure cookie.
The goal is to have separate, per user stateful sessions and no guest/anonymous access
Any suggestions would be greatly appreciated