Skip to content

Refactor auth to use wsaa-ruby gem - #14

Merged
leanucci merged 7 commits into
mainfrom
13-refactor-auth-to-wsaa-ruby
Aug 18, 2026
Merged

leanucci merged 7 commits into
mainfrom
13-refactor-auth-to-wsaa-ruby

Conversation

@leanucci

Copy link
Copy Markdown
Owner

Summary

  • Add wsaa-ruby (~> 0.2) dependency for WSAA authentication
  • Upgrade Savon from 0.7.x to 2.0 (required by wsaa-ruby)
  • Refactor AuthData to use Wsaa.configure and Wsaa.authenticate
  • Update Bill and Reference to use Savon 2.0 API
  • Remove deprecated wsaa-client.sh bash script
  • Re-record VCR cassettes with new auth flow

Closes #13

leanucci and others added 7 commits August 18, 2026 13:08
Required to use wsaa-ruby gem for authentication.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Migrate from Savon 0.7.x block-based API to Savon 2.x call method.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Replace bash script authentication with pure Ruby wsaa-ruby gem.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
No longer needed as authentication is now handled by wsaa-ruby gem.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Updated cassettes include WSAA WSDL and loginCms calls.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
wsaa-ruby gem handles configuration validation internally.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Tests no longer need real certificate files to run.

Co-Authored-By: Leandro Marcucci <leanucci@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@leanucci
leanucci merged commit c3c6d10 into main Aug 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor auth to use wsaa-ruby gem

1 participant