Azure AD B2C Connect

Authentication ::: auth_azureb2c
Maintained by Gopal Sharma
The Azure AD B2C Connect plugin provides registering of a new user and single-sign-on functionality using configurable identity providers, scope and custom policies of Azure B2C.
Latest release:
99 sites
70 downloads
4 fans
Current versions available: 1

Azure AD B2C Connect

Azure AD B2C Connect provides registering of a new user and then signing (single-sign-on)a user into moodle.
A user can also use google, facebook and so on sign-in options available within B2C.

You need to have the following things with you to configure this plugin :

- Authorization Endpoint

- Token Endpoint

- Forgot Password Endpoint

- Azure B2C Scope

- Client ID

- Client Secret

Installation

  • copy the content of the package into the /auth directory under the root of Moodle.
  • log in as administrator and complete the installation
Read the Plugin installation guide for complete steps about installing a new plugin in Moodle.

Please read the README.md for details about the 'edit/update' profile fields.

Please don't report bugs here

If you experience an error with this plugin or would like to request a feature, please use the "Bug Tracker" link below.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6
Screenshot #7
Screenshot #8
Screenshot #9

Contributors

Gopal Sharma (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Fri, 6 Dec 2019, 10:30 PM
    Approval issue created: CONTRIB-7923
  • Luis Nabergoi
    Wed, 11 Aug 2021, 8:06 PM
    Can this plugin be used in version 3.11?
    Thank you
  • Gopal Sharma
    Wed, 11 Aug 2021, 8:09 PM
    Yes, you should be able to use it.
  • Ashraf Ismail
    Wed, 11 Aug 2021, 8:34 PM
    How can you sync existing Moodle users with azure B2C users using this plugin , this is the feature available in O365 plug in , but could have o365 plug in on the top of this plug in
  • Peter Ward
    Tue, 12 Apr 2022, 10:14 PM
    Hi Ashraf. Did you get an answer to this question. We see a new user being created in moodle when passing from B2C to moodle, but if the user already had an account when the B2C account is then created, this becomes a 2nd account in moodle? I also note that when 0365 plugin is also included in the moodle, then the auth_azureB2C plugin does not populate the moodle profile for the new user it's creating.
    https://github.com/GopalSharma/moodle-auth_azureb2c/issues/13

    Gopal: How can we sync existing moodle users at the time that they pass from B2C login?
  • Gabriele Morabito
    Fri, 6 May 2022, 10:27 PM
    Hi Gopal,
    the "Azure B2C scope" field currently appears to be a "text" field whereas in the pictures you posted it appears to be a "text area" field.

    If I have to insert several scopes, how does the system separate them from each other? Do I have to separate them with a comma?

    immagine

    e.g:
    openid hcttps://testcosumer.onmicrosoft.com/moodle/write,
    hcttps://testcosumer.onmicrosoft.com/moodle/read,
    hcttps://testcosumer.onmicrosoft.com/moodle/offline_access,
    hcttps://testcosumer.onmicrosoft.com/moodle/user_impersonation,

    Tnks for the help!
  • Gabriele Morabito
    Fri, 13 May 2022, 5:31 PM
    -- SOLVED --
    Although the 'azure B2c scope' is not a text area field as shown in the images in the documentation, it is simply necessary to separate the different scopes with a space.

    Everything works perfectly, thank you for your contribution!

    example:
    hcttps://testcosumer.onmicrosoft.com/moodle/write hcttps://testcosumer.onmicrosoft.com/moodle/read hcttps://testcosumer.onmicrosoft.com/moodle/offline_access hcttps://testcosumer.onmicrosoft.com/moodle/user_impersonation openid
Please login to post comments