File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -195,12 +195,13 @@ where "..." should be replaced with the actual password. This is
195195called a "password" grant, where you exchange a username and password
196196for an access token.
197197
198- Password grant is appropriate for a native or mobile application, and
199- where you have a local user database to store and validate the
200- credentials. For a web app, or any app with "social" login, like ours,
201- you need the "authorization code" grant, and that means you need a
202- browser to handle redirects and render the user interfaces from the
203- external providers.
198+ Password grant is also mainly useful for testing, but can be
199+ appropriate for a native or mobile application, when you have a local
200+ user database to store and validate the credentials. For most apps, or
201+ any app with "social" login, like ours, you need the "authorization
202+ code" grant, and that means you need a browser (or a client that
203+ behaves like a browser) to handle redirects and cookies, and render
204+ the user interfaces from the external providers.
204205
205206== Creating a Client Application
206207
You can’t perform that action at this time.
0 commit comments