The plugin supports scenarios where you’d like your website visitor to sign into your website manually, e.g. when he or she is about to place an order and you’d like that user to create an account first. In this case you can offer the user – with the a simple shortcode – the option to Sign in with Microsoftby providing him or her with a simple button or link. When a user clicks the button or link he or she will be redirected to Microsoft, asked to consent to your web application receiving a handful of profile data and if confirmed, Microsoft will reply with an (Open Connect) ID token for that user. The plugin will process this token as usual and create a WordPress account for your extranet user and automatically sign that user into your website.
You can customize the shortcode as illustrated with the following example. Please note that the token ##OAUTH_URL## will be replaced with the Microsoft login url