Warning
This document has not been updated for a while now. It may be out of date.
Last updated:
17 Mar 2021
feedback: Manual testing with real authorisation
In order to raise tickets in Zendesk, the feedback
app submits data to the support
app. As the relevant support
app endpoints are behind signon
, feedback
needs a bearer token for authorisation. To get this working after an import of signon data from preview:
-
Copy the token from the support app initializer.
-
Start a rails console session within
signon
:signonotron2> bundle exec rails c
-
Execute the following (to update the token):
u = User.find_by_email('feedback@alphagov.co.uk') a = u.authorisations.first a.token = "<PLACE TOKEN HERE>" a.save
-
To start with real authentication using
signon
andsupport
:development> GDS_SSO_STRATEGY=real bowl signon support feedback