Rails: Implementing B2C to web app

PlasticTrees 26 Reputation points
2020-11-25T12:47:08.033+00:00

I'm developing a web application using Ruby (2.6.2) and Rails (5.2.3).

I've successfully deployed it to App Service. Therefore, I'm now looking to implement an auth solution.

I'm developing a product manager webpage. Where users can add/edit/remove their products.

I can't find any documentation on Ruby and B2C. However, I've found this git, which is a controller for Azure AD auth. Will this work with B2C?

Can Ruby be recommended with B2C? As I want to make sure my auth is secure as possible. Will solutions with Azure AD also work with B2C? (Like the one above).

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,865 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,639 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,456 questions
{count} votes

Accepted answer
  1. 2020-11-27T17:10:46.037+00:00

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andrew Brown 1 Reputation point
    2021-06-19T01:26:46.857+00:00

    The Azure documentation contains instructions on how to install Azure BC2 as part of a Ruby on Rails application.

    https://learn.microsoft.com/en-us/graph/tutorials/ruby?WT.mc_id=Portal-Microsoft_AAD_RegisteredApps

    0 comments No comments