Hello @PlasticTrees , there a couple of OAuth2 client libraries for Ruby out there which may work with Azure B2C provided they accept a scope parameter. Take a look here and here.
Please let me know if you need more help. If the answer was helpful to you, please accept it and optionally fill the feedback form it so that other members in the community can benefit from it.