Skip to content

Commit

Permalink
Dont parse auth scope
Browse files Browse the repository at this point in the history
  • Loading branch information
gridanjbf committed Apr 22, 2024
1 parent c1befbc commit 07e7f45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/sharepoint/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@ def validate_token_config!
invalid_token_opts = validate_token_config

raise Errors::InvalidTokenConfigError.new(invalid_token_opts) unless invalid_token_opts.empty?
raise Errors::UriConfigurationError.new unless valid_uri?(config.auth_scope)
end

def validate_ntlm_config!
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/sharepoint/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
end
end

context 'with bad auth_scope uri format' do
skip 'with bad auth_scope uri format' do
[{ value: 'ftp://www.test.com', name: 'invalid auth_scope' }].each do |ocurrence|
it "raises auth_scope configuration error for #{ocurrence[:name]} auth_scope" do
wrong_config = config
Expand Down

0 comments on commit 07e7f45

Please sign in to comment.