diff options
author | Dave Arter <davea@mysociety.org> | 2020-05-13 16:42:04 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-07-02 14:38:50 +0100 |
commit | 7e4ebd6568a836683f5f374ce6f0d9ed97d38c54 (patch) | |
tree | e16e4dfec760bd5f7924dcc27b58ef310c02f847 | |
parent | c505cbca2576f9e658692d8e1c512f645069985a (diff) |
Include redirect URI when fetching OIDC access token
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Auth/Social.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth/Social.pm b/perllib/FixMyStreet/App/Controller/Auth/Social.pm index 2468cfad2..c9e0381a4 100644 --- a/perllib/FixMyStreet/App/Controller/Auth/Social.pm +++ b/perllib/FixMyStreet/App/Controller/Auth/Social.pm @@ -290,6 +290,7 @@ sub oidc_callback: Path('/auth/OIDC') : Args(0) { eval { $id_token = $oidc->get_access_token( code => $c->get_param('code'), + redirect_uri => $c->uri_for('/auth/OIDC') ); }; if ($@) { |