Skip to content

Commit 411ad38

Browse files
author
Dave Syer
committed
Qualify usage of password grant more
1 parent 0f19b1d commit 411ad38

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

auth-server/README.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,13 @@ where "..." should be replaced with the actual password. This is
195195
called a "password" grant, where you exchange a username and password
196196
for 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

0 commit comments

Comments
 (0)