Updated to use authentication scope.