Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AUT-3895: Correct and improve IPV token call.
The request for a token to access the result of a re-verification should contain the original redirect_uri provided in the authorise request. We were providing the redirect_uri that belongs to orch rather than the auth one. This was causing the IPV token endpoint to not respond to requests. The ReverificationResult lambda did not have any timeout configuration on the token request and was hanging. The frontend does have a timeout so we were seeing a timeout error in the frontend. The Nimbus library httpRequest method defaults to not having a timeout for connect or read so an over-ride has been added to timeout connections and reads if IPV does not respond.
- Loading branch information