mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-18 17:42:54 +05:30
Merge pull request #372 from michaelhogg/fix-bug-request-uri
Fix bug: incorrect signature parameter
This commit is contained in:
commit
21cd917892
@ -105,7 +105,7 @@ class MAC extends AbstractTokenType implements TokenTypeInterface
|
||||
$timestamp,
|
||||
$nonce,
|
||||
strtoupper($request->getMethod()),
|
||||
$request->getUri(),
|
||||
$request->getRequestUri(),
|
||||
$request->getHost(),
|
||||
$request->getPort(),
|
||||
];
|
||||
|
@ -52,7 +52,7 @@ class MacTest extends \PHPUnit_Framework_TestCase
|
||||
$ts,
|
||||
'foo',
|
||||
strtoupper($request->getMethod()),
|
||||
$request->getUri(),
|
||||
$request->getRequestUri(),
|
||||
$request->getHost(),
|
||||
$request->getPort(),
|
||||
'ext'
|
||||
|
Loading…
x
Reference in New Issue
Block a user