ByteByteGoHq / system-design-101

Explain complex systems using visuals and simple terms. Help you prepare for system design interviews.
https://blog.bytebytego.com/
Other
62.48k stars 6.49k forks source link

OAuth Grant Type recommendations #85

Open emmanuelgautier opened 3 months ago

emmanuelgautier commented 3 months ago

In the "Session, Cookie, JWT, Token, SSO, and OAuth 2.0 Explained in One Diagram", you mentioned Implicit Grant as recommended grant type solution for native.

For security reasons, you should change the flow recommended for native application to "Authorization Code Flow" and add the PKCE extension for both the web app and native app as well.

"the use of the Implicit Flow with native apps is NOT RECOMMENDED" Source: https://datatracker.ietf.org/doc/html/rfc8252

I don't know how you make your image but if I can help more, do not hesitate.