You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following RFC8252 and security-topics to suggest and implement a change in the authorization schemes for improved security across the whole portal system. The design goal is to follow the above specs to reduce the attack surface on the web application (frontend) by using standardized, documented and well-known best practices.
This involves the following steps:
Cookie (http-only) based sessions for transaction management
Implement authorization code flow
Minimal HTML rendering for login
Small CSS style and frame layout to make it look first-party
Add support for (and enforce the use of) PKCE
Registration form
Password reset
Account email verification pages
Move new react frontend to auth code flow
Harden react flow with PKCE, according to {RFC8252]
I know this sounds like a lot but I think it is manageable and it will let me sleep better at night ;)
Yes, this removes some features (login & registration forms, email verification) from the frontend code and moves it to the server, but it would have to be reimplemented anyway in React, and this way it's actually easier to build, extend, and control. Plus it's frontend independent, so it will integrate with any other app that somebody might build in the future (e.g. native apps etc). I think it's a good thing.
The text was updated successfully, but these errors were encountered:
opatut
changed the title
Provider proper first-party oauth server by API
Provide proper first-party oauth server by API
Feb 20, 2021
I am following RFC8252 and security-topics to suggest and implement a change in the authorization schemes for improved security across the whole portal system. The design goal is to follow the above specs to reduce the attack surface on the web application (frontend) by using standardized, documented and well-known best practices.
This involves the following steps:
Afterwards, these topics will await us
I know this sounds like a lot but I think it is manageable and it will let me sleep better at night ;)
Yes, this removes some features (login & registration forms, email verification) from the frontend code and moves it to the server, but it would have to be reimplemented anyway in React, and this way it's actually easier to build, extend, and control. Plus it's frontend independent, so it will integrate with any other app that somebody might build in the future (e.g. native apps etc). I think it's a good thing.
The text was updated successfully, but these errors were encountered: