Example #1
0
        public async Task Can_retrieve_saml_metadata()
        {
            // Arrange
            var authenticationApiClient = new AuthenticationApiClient(GetVariable("AUTH0_AUTHENTICATION_API_URL"));

            // Act
            var response = await authenticationApiClient.GetSamlMetadataAsync(GetVariable("AUTH0_CLIENT_ID"));

            // Assert
            response.Should().NotBeNull();
        }
Example #2
0
        public async Task Can_retrieve_saml_metadata()
        {
            // Arrange
            var authenticationApiClient = new AuthenticationApiClient(new Uri(GetVariable("AUTH0_AUTHENTICATION_API_URL")));

            // Act
            var response = await authenticationApiClient.GetSamlMetadataAsync(GetVariable("AUTH0_CLIENT_ID"));

            // Assert
            response.Should().NotBeNull();
        }