mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-02 11:40:47 +05:30
commit
c4ed89e411
@ -57,7 +57,7 @@ $router->get('/oauth', function (Request $request) use ($server) {
|
|||||||
|
|
||||||
// Everything is okay, save $authParams to the a session and redirect the user to sign-in
|
// Everything is okay, save $authParams to the a session and redirect the user to sign-in
|
||||||
|
|
||||||
return = new Response('', 302, [
|
return new Response('', 302, [
|
||||||
'Location' => '/signin'
|
'Location' => '/signin'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -195,4 +195,4 @@ $router->post('/access_token', function (Request $request) use ($server) {
|
|||||||
|
|
||||||
### Notes
|
### Notes
|
||||||
|
|
||||||
* You could combine the sign-in form and authorize form into one form
|
* You could combine the sign-in form and authorize form into one form
|
||||||
|
Loading…
Reference in New Issue
Block a user