Skip to main content
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:

  1. Copy the token from the support app initializer.

  2. Start a rails console session within signon:

     signonotron2> bundle exec rails c
    
  3. 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
    
  4. To start with real authentication using signon and support:

     development> GDS_SSO_STRATEGY=real bowl signon support feedback