summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-07-13 14:54:37 +0300
committerLars Wirzenius <liw@liw.fi>2018-07-13 15:18:27 +0300
commit1a59110df9711ae6f04c3226a73c2747ebde93c8 (patch)
treefa73343261c268e36757f1ae595c82940ff3620b
parent23bc19647ec6fac6906ceea66041bc75602612e1 (diff)
downloadqvisqve-1a59110df9711ae6f04c3226a73c2747ebde93c8.tar.gz
Fix: user paths, not full URLs, since that's what IMPLEMENTS expects
-rw-r--r--yarns/300-end-user-auth.yarn6
1 files changed, 3 insertions, 3 deletions
diff --git a/yarns/300-end-user-auth.yarn b/yarns/300-end-user-auth.yarn
index 2b717c8..f22bbfd 100644
--- a/yarns/300-end-user-auth.yarn
+++ b/yarns/300-end-user-auth.yarn
@@ -19,18 +19,18 @@ FIXME: Explain the login process here, with sequence diagram.
User goes to the login URL and gets a login page.
- WHEN browser requests GET https://qvisqve/login
+ WHEN browser requests GET /qvisqve/login
THEN HTTP status code is 200 OK
AND Content-Type is text/html
AND body has an HTML form with field username
AND body has an HTML form with field password
- WHEN browser requests POST https://qvisqve/auth, with form values
+ WHEN browser requests POST /qvisqve/auth, with form values
... username=tomjon and password=hunter2
THEN HTTP status code is 302 Found
AND Location header is https://facade/callback?code=123
- WHEN facade requests POST https://qvisqve/token, with
+ WHEN facade requests POST /qvisqve/token, with
... form values grant_type=authorization_code and code=123
THEN HTTP status code is 200 OK
AND Content-Type is application/json