mirror of
https://github.com/friendica/friendica
synced 2025-04-22 15:10:12 +00:00
Repurposed OAuth frontend handling, store the scope
This commit is contained in:
parent
132e08edb8
commit
b18073d5a8
9 changed files with 121 additions and 139 deletions
|
@ -41,7 +41,7 @@ class Authorize extends BaseApi
|
|||
$client_id = $_REQUEST['client_id'] ?? '';
|
||||
$client_secret = $_REQUEST['client_secret'] ?? ''; // Isn't normally provided. We will use it if present.
|
||||
$redirect_uri = $_REQUEST['redirect_uri'] ?? '';
|
||||
$scope = $_REQUEST['scope'] ?? '';
|
||||
$scope = $_REQUEST['scope'] ?? 'read';
|
||||
$state = $_REQUEST['state'] ?? '';
|
||||
|
||||
if ($response_type != 'code') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue