Skip to main content

Posts

Showing posts from 2019

Setup Azure AD B2C: Identity providers & Policies

This blog post will be the second part of the Setup Azure AD B2C blog series. From this blog post, we will be able to set up identity providers and policies to the Azure B2C AD. Identity providers An identity provider (abbreviated IdP or IDP ) is a system entity that creates, maintains, and manages identity information for principals while providing authentication services to relying applications within a federation or distributed network Azure AD B2C - Identity providers Azure supports many identities such as social, enterprise, or local account identities in B2C AAD. The following image shows some of the identity providers that currently B2C AAD support. As you can see AAD B2C Supports numerous identity providers. Except for Local account every other identity provider, you have to configure manually. Configure Social IDP In order to use social identity providers, we need to configure them first. Different identity providers use different ways to configure IDP. So ...

React: åäö swedish characters shown as �

Last few months, I have started working on a web application that belongs to a Swedish client. Since this application's target audience is Swedish people, we were only focused on the Swedish language as the application language. We have hardcoded all the labels (I know it is not a good practice but for this case that was fine 😉). Then we figured out something is wrong when it rendered in the HTML. Symptoms All the special Swedish characters were rendered as � åäö Swedish characters shown as � Cause This is most likely caused by the encoding.  Resolution Ideally, you can overcome this issue by providing a metadata tag for  "charset".   In your   index.html   file, add the following meta tag to the header section. < meta charset = "UTF-8" > Simply, when you declare the "charset" as "UTF-8", you are telling your browser to use the UTF-8 character encoding, which is a method of converting your typed characters into ma...

Setup Azure AD B2C

Azure Active Directory B2C Briefly, Azure Active Directory (Azure AD) B2C is a business-to-consumer identity management service. This service enables you to customize and control how users securely interact with your web, desktop, mobile, or single-page applications. Using Azure AD B2C, users can sign up, sign in, reset passwords, and edit profiles. Azure AD B2C implements a form of the OpenID Connect and OAuth 2.0 protocols. The important key in the implementation of these protocols is the security tokens and their claims that enable you to provide secure access to resources. read more Ingredients for set up an Azure AD B2C resource Ingredients that you need to have in-order to set up an Azure AD B2C Microsoft Azure account with a valid subscription associated. Azure AD B2C tenant resource with necessary policies Directions I hope that you have a Microsoft Azure account with a valid subscription associated. If you don't have an account, create an account with th...