Method getAccessToken
doesn’t need the state parameter
This commit is contained in:
parent
8b28c76c70
commit
e2c285293c
1 changed files with 0 additions and 1 deletions
|
@ -327,7 +327,6 @@ class MicropubClientController extends Controller
|
||||||
$request->input('me'),
|
$request->input('me'),
|
||||||
route('micropub-client-get-new-token-callback'), // redirect_uri
|
route('micropub-client-get-new-token-callback'), // redirect_uri
|
||||||
route('micropub-client'), // client_id
|
route('micropub-client'), // client_id
|
||||||
$request->input('state')
|
|
||||||
);
|
);
|
||||||
if (array_key_exists('access_token', $token)) {
|
if (array_key_exists('access_token', $token)) {
|
||||||
$url = normalize_url($token['me']);
|
$url = normalize_url($token['me']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue