I want to build an api auth, so i have read the Laravel Passport Article.
I follow the guide until requesting token. There’s a route which will redirect back to server for authentication.
Route::get(‘/redirect’, function () {
$query = http_build_query([
‘client_id’ => ‘client-id’,
‘redirect_uri’ => ‘http://ift.tt/Yr2taA’,
‘response_type’ => ‘code’,
‘scope’ => ”,
]);
return redirect(‘http://ift.tt/2vxXHbJ);
});
When I being redirect to http://ift.tt/2uysdF7 ( Permission asking page )
Then I clicked “Authorize” button, the page shows the error message
Cipher method not supported. This is normally caused by an outdated version of OpenSSL (and/or OpenSSL compiled for FIPS compliance). Please upgrade to a newer version of OpenSSL that supports aes-256-ctr to use this library.
I have stuck in this page. Hope anyone can help
I'm using MAMP 3.5
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u5pl1H
via IFTTT
Aucun commentaire:
Enregistrer un commentaire