Merge branch 'release/0.5.4'
This commit is contained in:
commit
9cb8730f37
3 changed files with 5 additions and 4 deletions
|
@ -326,8 +326,7 @@ class MicropubClientController extends Controller
|
||||||
$request->input('code'),
|
$request->input('code'),
|
||||||
$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']);
|
||||||
|
|
|
@ -48,8 +48,7 @@ class TokenEndpointController extends Controller
|
||||||
$request->input('code'),
|
$request->input('code'),
|
||||||
$request->input('me'),
|
$request->input('me'),
|
||||||
$request->input('redirect_uri'),
|
$request->input('redirect_uri'),
|
||||||
$request->input('client_id'),
|
$request->input('client_id')
|
||||||
$request->input('state')
|
|
||||||
);
|
);
|
||||||
if (array_key_exists('me', $auth)) {
|
if (array_key_exists('me', $auth)) {
|
||||||
$scope = $auth['scope'] ?? '';
|
$scope = $auth['scope'] ?? '';
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Version 0.5.4 (2017-05-18)
|
||||||
|
- Fix issues with using the indieauth client
|
||||||
|
|
||||||
## Version 0.5.3 (2017-05-18)
|
## Version 0.5.3 (2017-05-18)
|
||||||
- Tweak config page and get token method to better handle/show errors
|
- Tweak config page and get token method to better handle/show errors
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue