Store requested scopes as a string during IndieAuth flow
This commit is contained in:
parent
dd04921e6e
commit
d77f2302ba
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class IndieAuthController extends Controller
|
||||||
'client_id' => $request->get('client_id'),
|
'client_id' => $request->get('client_id'),
|
||||||
'redirect_uri' => $request->get('redirect_uri'),
|
'redirect_uri' => $request->get('redirect_uri'),
|
||||||
'auth_code' => $authCode,
|
'auth_code' => $authCode,
|
||||||
'scope' => $request->get('scope', ''),
|
'scope' => implode(' ', $request->get('scope', '')),
|
||||||
];
|
];
|
||||||
|
|
||||||
Cache::put($cacheKey, $indieAuthRequestData, now()->addMinutes(10));
|
Cache::put($cacheKey, $indieAuthRequestData, now()->addMinutes(10));
|
||||||
|
|
Loading…
Add table
Reference in a new issue