Skip to content

Commit 80efffd

Browse files
committed
Document that redirect_uri is absolute
As per thephpleague/oauth2-server#1239, the `redirect_uri` is expected to be absolute, so include this in our documentation. Signed-off-by: Rob Allen <rob@akrabat.com>
1 parent 1199de7 commit 80efffd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/book/v1/grant/auth_code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ authorization server:
2424

2525
- `response_type` = code.
2626
- `client_id` with the client identifer.
27-
- `redirect_uri` with the URI to which to redirect the client following
27+
- `redirect_uri` with the absolute URI to which to redirect the client following
2828
successful authorization. This parameter is optional, but if it is not sent,
2929
the user will be redirected to a default location on completion.
3030
- `scope` with a space-delimited list of requested scope permissions.

docs/book/v1/grant/implicit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ authorization server:
1111

1212
- `response_type` = token.
1313
- `client_id`, with the client’s ID.
14-
- `redirect_uri`, with the URI to which to redirect the client after completing
15-
authorization. This parameter is optional; if not provided, however, the user
16-
will be redirected to a default location.
14+
- `redirect_uri`, with the absolute URI to which to redirect the client after
15+
completing authorization. This parameter is optional; if not provided,
16+
however, the user will be redirected to a default location.
1717
- `scope`, with a space-delimited list of requested scope permissions.
1818
- `state`, with a Cross-Site Request Forgery (CSRF) token. This parameter is
1919
optional but highly recommended. You can store the value of CSRF token in the

0 commit comments

Comments
 (0)