verify_service_access_token

in support/setup/gitlab_duo_setup.rb [48:65]


    def verify_service_access_token
      puts 'Waiting for service access token to be available...'

      max_attempts = 3
      attempts = 0

      until token_count&.positive? || attempts == max_attempts
        puts 'Attempting to verify access token exists...'
        attempts += 1
        sleep 30
      end

      return if token_count&.positive?

      puts "Failed to create service access token after #{max_attempts} attempts"
      exit 1
    end