Skip to main content
Azure SSO template

Find out what Azure single sign-on method is and how to set it up in your application.

Betty Blocks avatar
Written by Betty Blocks
Updated over a year ago

Warning!

You’re now reading a legacy document. The features described below are only usable within the classic generation environment.

Do you need an application template with the same or similar functionality? Follow this link to leave a request!


After reading this article you’ll know how to:

  • Create an application with an Azure sign-on login method

  • Set up SSO configurations

  • Use two main login methods

Description

Single sign-on (SSO) is an authentication method that allows users to securely log in to different services using a single ID. Using SSO means a user doesn't have to sign in to every application. With SSO, they can access all needed applications without being required to authenticate using different credentials.

Such Microsoft Online business services as Microsoft 365 or Microsoft Azure require Azure AD for sign-in activities and for the sake of identity protection. When subscribed to Microsoft's online business service, you get Azure Active Directory with access to all free features.

Azure AD Seamless SSO automates the sign-on process for users who are on their devices connected to the corporate network. This feature enables users to log in to several applications with a single ID, which includes both SaaS and on-premises applications. This SSO simplifies the work with some processes for administrators by allowing them to add new users and services without the need to set up credentials or security groups for applications.

This article provides you with all the information you need to start using the Azure single sign-on template so all of your users can log in with their existing company accounts. It also has a regular login and registration workflow built in. The documentation will help you configure the last steps to get it up and running.

Use of template

Azure SSO template would be of great use to:

  • Application developers can use Azure AD for adding single sign-on credentials to the application in order to allow users to work with their pre-existing credentials.

  • Microsoft 365, Office 365, Azure, or Dynamics CRM Online subscribers who also automatically use Azure AD. They can start managing their cloud applications instantly.

  • IT administrators might use Azure SSO to control access to their applications and other resources. For example, they can set two-factor authentication.

Pages overview

  • Home. The homepage of your application.

  • My Account. The page to edit your personal information and update your password.

  • SSO Redirect Page. This page redirects you to the Azure SSO login page.

  • User Login - Create New Account. The page to create a new user’s profile.

  • User Login - Login. The start page of your application via which registered users can log in using their credentials.

  • User Login - Password Reset Request. Using this page you can request to reset your password; a special link will be sent to your email address.

  • User Login - Reset Password. The page with reset password form; here users can create a new password.

Getting started with Azure SSO template

Creating application

Open My Betty Blocks and see your dashboard with suggested application templates in the ‘Start building’ section. Choose ‘View all templates’, then find the Azure SSO template and click ‘Use template’.

Note: If you want to see the template’s live preview, click on its thumbnail, and in an open window find the ‘Live preview’ button.

The next steps will include coming up with a name for your application and setting a value for the application ID configuration. Find out why you need this setting and how to configure it properly in the Introduction to application templates article.

Configuring SSO

In this step, we will go through the configuration settings you need to apply in order to run the application properly.

The first thing you need to do is set SSO configurations from the Microsoft Azure side. You can find the detailed explanation in the Betty Blocks SSO video course or visit Microsoft Documentation.

After you set everything up in Azure AD, we can take a look at how to configure the SSO on the Betty Blocks platform. Let’s do this step by step:

  1. Open the back office. Select ‘Azure SSO’s’ in the settings bar.

  2. There will be a single record presented in your database. Click on it.

  3. On the right side of the details click the green button with the text ‘Configure SSO’.

  4. The dialog window will appear.

5) In this dialog, fill in the following fields:

  • App Id: The same ‘app_id’ as we retrieved and used earlier. This value will be used to generate the right URLs.

  • Ipd sso target url: This value was generated by Azure with the label ‘Login URL’. Copy and paste it here.

Issuer: This has to be the same value as entered in the Azure settings under Identity ID. With this value, Azure will identify your organization that is doing the login request and will then check to verify it is you.

User login methods

Within this template there are two ways to login:

  • Standard login method: using an email and password.

  • Single sign-on login method: the one you have just configured after following the documentation.

Standard login

This way to log in is done using the email and password fields on the login page. New users can be created by clicking on the ‘Register new account’ and filling it out.

This user will be able to log in with their email and password.

Note: If you use the email address for this method, it cannot be re-used anymore for an SSO login.

Single sign-on login

The SSO login is processed by pressing the ‘Azure login’ button on the login page. The user will be redirected to the Azure SSO. There the user can log in with their corresponding account. After the first successful login, a new user will be created in the application.

Additional Resources

Contact Information

In case you have any feedback or suggestions regarding this template, let us know by emailing: templates@bettyblocks.com.

Did this answer your question?