<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: gurjeet singh</title>
    <description>The latest articles on DEV Community by gurjeet singh (@gurjeetsingh622001).</description>
    <link>https://dev.to/gurjeetsingh622001</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2131008%2Faf570c72-c45f-4602-a73f-595da562adfc.png</url>
      <title>DEV Community: gurjeet singh</title>
      <link>https://dev.to/gurjeetsingh622001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gurjeetsingh622001"/>
    <language>en</language>
    <item>
      <title>Best practice for using PIN and PASSWORD using AD B2C</title>
      <dc:creator>gurjeet singh</dc:creator>
      <pubDate>Thu, 26 Sep 2024 16:01:06 +0000</pubDate>
      <link>https://dev.to/gurjeetsingh622001/best-practice-for-using-pin-and-password-using-ad-b2c-46im</link>
      <guid>https://dev.to/gurjeetsingh622001/best-practice-for-using-pin-and-password-using-ad-b2c-46im</guid>
      <description>&lt;p&gt;Hi I am working on AD B2C , where I am using Azure AD B2C for Authentication and Authorization. &lt;br&gt;
I have created a custom policy to Register a user using phone number verification.&lt;br&gt;
My Main concern is that ad b2c does not support PIN(Not Password)&lt;br&gt;
How can I use pin and Password for Authentication  .&lt;/p&gt;

&lt;p&gt;I have used a custom attribute&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;ClaimType Id="extension_UserPin"&amp;gt;
                &amp;lt;DisplayName&amp;gt;User Pin&amp;lt;/DisplayName&amp;gt;
                &amp;lt;DataType&amp;gt;string&amp;lt;/DataType&amp;gt;
                &amp;lt;DefaultPartnerClaimTypes&amp;gt;
                    &amp;lt;Protocol Name="OAuth2" PartnerClaimType="extension_UserPin" /&amp;gt;
                &amp;lt;/DefaultPartnerClaimTypes&amp;gt;
                &amp;lt;UserHelpText&amp;gt;Enter your PIN&amp;lt;/UserHelpText&amp;gt;
            &amp;lt;/ClaimType&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Which looks not a good practice .&lt;br&gt;
So can anyone expert tell me this how to do this Pin And Password&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
