docs: Fix sample code to avoid reading from `undefined` in `didAuthError` (#3723)
authored by Gert Hengeveld and committed by GitHub 1 year ago b03198a9 0f29d072