<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Afra Hussaindeen on Medium]]></title>
        <description><![CDATA[Stories by Afra Hussaindeen on Medium]]></description>
        <link>https://medium.com/@mhfafra?source=rss-a26bd59606b0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*phsHKKX1FLMTe91RvC8B7A.png</url>
            <title>Stories by Afra Hussaindeen on Medium</title>
            <link>https://medium.com/@mhfafra?source=rss-a26bd59606b0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:04:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mhfafra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Simplifying Identity Verification: A Guide to Onfido Integration with Asgardeo]]></title>
            <link>https://medium.com/@mhfafra/simplifying-identity-verification-a-guide-to-onfido-integration-with-asgardeo-0c0b8aad0e8c?source=rss-a26bd59606b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c0b8aad0e8c</guid>
            <dc:creator><![CDATA[Afra Hussaindeen]]></dc:creator>
            <pubDate>Wed, 18 Dec 2024 12:03:00 GMT</pubDate>
            <atom:updated>2024-12-18T12:17:31.265Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s digital landscape, knowing your users are who they claim to be is paramount. Whether you’re building a financial platform, a healthcare application, or any service handling sensitive data, robust identity verification is no longer optional — it’s a necessity. That’s where robust solutions like Asgardeo, combined with the power of Onfido, can truly shine.</p><p>This article will guide you through the process of integrating Onfido, a leading identity verification provider, with Asgardeo, a cloud-native Customer Identity and Access Management (CIAM) platform. This powerful combination allows you to seamlessly implement robust identity verification workflows within your applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*xIteP0UOYB3xqov1.jpg" /><figcaption>When you realize that integrating Onfido with Asgardeo means no more guessing if users are who they say they are! 🔍✨ (Image Credit: <a href="https://imgflip.com/memegenerator">Imgflip</a> )</figcaption></figure><h3>✨Why Asgardeo and Onfido? A Powerful Duo✨</h3><p>Asgardeo is a modern CIAM solution designed to simplify the complexities of user authentication, authorization, identity verification and etc. It empowers organizations to manage user identities securely and efficiently through flexible, low-code configurations and integrations with trusted third-party providers. Asgardeo’s strength lies in its ability to streamline identity workflows, allowing developers to focus on building exceptional user experiences.</p><p>Onfido, on the other hand, is a globally recognized leader in identity verification. Using cutting-edge AI, Onfido analyzes documents, such as national identity cards, passports and driver’s licenses, and leverages biometric verification to accurately confirm user identities. This process helps prevent fraud and establishes trust in the digital interactions.</p><p>By pairing these two powerful platforms, businesses can achieve a seamless user verification experience while simultaneously strengthening their security posture.</p><p>Let’s dive into the practical steps involved in setting up this integration with a <a href="https://github.com/wso2-extensions/identity-verification-onfido/releases/download/v1.0.0/onfido-sample-app.zip">sample application</a>.</p><p><strong>Before You Begin:</strong></p><ul><li><a href="https://onfido.com/signup/">Onfido Account:</a> You’ll need an active Onfido account with administrative access and comparison checks enabled. See <a href="https://documentation.onfido.com/api/latest/#data_comparison">Onfido’s documentation</a> for details on comparison checks.</li><li><a href="https://asgardeo.io/signup">Asgardeo Account</a>: Make sure you have administrative access to your Asgardeo console.</li></ul><h3><strong>Configure Onfido:</strong></h3><p>Before connecting Onfido to Asgardeo, we need to configure Onfido first. This includes setting up an API token, a verification workflow, and a webhook token. Let’s start with the API token.</p><p><strong>Create an API token:</strong></p><ul><li>Log in to the <a href="https://dashboard.onfido.com/">Onfido Dashboard</a>.</li><li>Go to <strong>Settings &gt; Developers &gt; Tokens</strong>.</li><li>Click <strong>Generate API token</strong>.</li><li>Select <strong>Live</strong> as the environment and click <strong>Generate</strong>.</li><li>Copy the generated API token and store it securely for later use.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*qiT4hy-9XakNu18F8j5GLA.gif" /></figure><blockquote><em>Note:</em> For testing purposes, you can create a sandbox API token instead of a live one. This will allow you to experiment with the verification flow in the sample application without needing to submit real documents.</blockquote><p><strong>Setting up a Workflow in Onfido Studio:</strong></p><p>Onfido Studio allows you to create custom verification workflows tailored to your specific needs. These workflows define the sequence of checks and reports used to verify a user’s identity. A well-defined workflow ensures a smooth and effective verification process. Here’s how to set up a basic workflow:</p><ul><li>On the <a href="https://dashboard.onfido.com/">Onfido Dashboard</a>, navigate to <strong>Onfido Studio &gt; Workflows.</strong></li><li>Click <strong>New Workflow</strong>, provide a name, and click <strong>Create</strong>.</li><li>Click <strong>New Version</strong> to open the Workflow Builder.</li><li>Select to <strong>Create a new workflow</strong>.</li><li>Using the drag-and-drop interface, build a workflow similar to the example shown in the image below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vblLzl96qEMGdsPfa0Dx8A.png" /></figure><blockquote>This example demonstrates a basic workflow using document and face similarity reports for identity verification. At a minimum, your workflow must include document capture. Optionally, you can enhance verification by integrating additional features like face capture (photo or motion) based on your specific needs.</blockquote><ul><li>Configure the workflow to accept first name, last name and date of birth as <a href="https://documentation.onfido.com/getting-started/onfido-studio-product/#workflow-input-data">input attributes</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*t6mFzThAy-MwayPCHJnPZQ.gif" /></figure><ul><li>Set up the <a href="https://documentation.onfido.com/getting-started/onfido-studio-product/#workflow-output-data">workflow outputs </a>to include data comparison results from the document report. To do so,<br>- Go to the <strong>Workflow Output</strong> section.<br>- In the <strong>Configure</strong> tab, click <strong>Add custom property</strong> and create a new property named <strong>data_comparison</strong> and set its format to <strong>Other</strong>.<br>- Navigate to the <strong>Sources</strong> tab.<br>- For both <strong>APPROVE APPLICANT</strong> and <strong>DECLINE APPLICANT</strong>, select <strong>Document report — Breakdown — Data comparison — Breakdown.<br>- </strong>Click <strong>Done</strong> to finalize the configuration.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*ArHhlKGLP1t7hJ5S34emag.gif" /></figure><blockquote>To ensure the accuracy of user attribute verification, it is crucial to configure the output in the specified format. The verification status depends on the result of the data comparison combined with the workflow status. Additionally, <strong>make sure</strong> <strong>Comparison Checks are enabled in your Onfido account </strong>to receive these results in the webhook response. For more information, refer to <a href="https://documentation.onfido.com/api/latest/#data_comparison">Onfido’s Comparison Checks documentation</a>.</blockquote><ul><li>To specify the criteria for approving or declining an applicant, click on the <strong>if/else condition</strong> task block. Set the condition to check that both the <a href="https://documentation.onfido.com/guide/document-report/#the-document-report-breakdown-tree">document report</a> and <a href="https://documentation.onfido.com/guide/facial-similarity-reports/#photo-and-photo-fully-auto-api-response-breakdown-tree">face capture report</a> results are marked as <strong>clear</strong>. If both are clear, the applicant can be approved. Otherwise, the application should be declined.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*iUeGST1ytwaep1J4KSeQvQ.gif" /></figure><ul><li>Copy the <strong>Workflow ID</strong> for later use when setting up Onfido with Asgardeo.</li><li>Click <strong>Save</strong> in the top-right corner.</li></ul><p><strong>Create a Webhook Token</strong></p><p>Onfido utilizes webhooks to provide real-time notifications regarding identity verification statuses. By integrating these webhooks with Asgardeo, you can ensure automated updates to user verification status. For more information, refer to<a href="https://documentation.onfido.com/"> Onfido’s webhooks documentation</a>.</p><p>Here’s how to create a webhook token:</p><ul><li>Go to <strong>Settings &gt; Developers &gt; Webhooks</strong> in the <a href="https://dashboard.onfido.com/">Onfido Dashboard</a>.</li><li>Click <strong>Create webhook</strong>.</li><li>Before continuing, you need a specific URL from Asgardeo. Go to the “Add Onfido as a Connection in Asgardeo” section of this guide, add the connection, then copy the webhook URL from the <strong>Setup Guide</strong> tab.</li><li>Paste this URL into the <strong>Webhook URL</strong> field.</li><li>Select the <strong>workflow_run.completed</strong> event.</li><li>Click <strong>Save</strong>.</li><li>Copy and securely store the generated <strong>webhook token</strong>, as you will need it for the Asgardeo setup.</li></ul><h3><strong>Add Onfido as a Connection in Asgardeo</strong></h3><p>To integrate Onfido with Asgardeo, you need to create a connection. Here’s how:</p><ul><li>Log in to the Asgardeo Console as an administrator.</li><li>Navigate to <strong>Connections</strong> on the left-hand panel.</li><li>Click <strong>+</strong> <strong>New Connection</strong> and select <strong>Onfido</strong> from the available templates.</li><li>Provide a <strong>Name</strong> for the connection (e.g., “Onfido Verification”).</li><li>Enter the <strong>API Token</strong> and <strong>Workflow ID</strong> you obtained from the Onfido Dashboard.</li></ul><blockquote><strong>Note:</strong> The default regional base URL for Onfido API calls is <a href="https://api.eu.onfido.com/v3.6.">https://api.eu.onfido.com/v3.6.</a> If you are using a different URL, update it accordingly.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PoXZ3CiEkKERqifJQ_rSuQ.png" /></figure><ul><li>Click <strong>Create</strong> to save the configuration.</li><li>Next, copy the generated webhook URL (for instance: https://api.asgardeo.io/t/&lt;organization&gt;/idv/onfido/v1/&lt;onfido-connection-id&gt;/verify), and then proceed to the “Create a Webhook Token” section above to complete the steps and obtain your webhook token.</li><li>Additionally, copy the <strong>Identity Verification Provider ID</strong> found at the bottom of the <strong>Setup Guide</strong> tab. This will be used when setting up your sample application.</li><li>Navigate to the <strong>Settings</strong> tab of the newly created connection and paste the <strong>webhook token</strong> into the <strong>Webhook Token</strong> field.</li><li>Click <strong>Update</strong> to save the changes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R-WwxhI_hYic-dgax4wkkg.png" /></figure><h3><strong>Configure Attribute Mappings in Asgardeo</strong></h3><p>After creating the connection, ensure the user attributes you’ll verify are mapped correctly between Onfido and Asgardeo. Here’s how:</p><ul><li>In the Asgardeo Console, go to the <strong>Attributes</strong> tab of your Onfido connection.</li><li>Confirm that <strong>first name</strong> and <strong>last name</strong> are already configured as mandatory.</li><li>To include <strong>date of birth</strong> (which is used for verification in our sample application):<br>- Click <strong>Add Attribute Mapping</strong>.<br>- Enter <strong>dob</strong> as the <strong>External IDVP Attribute name</strong> (from Onfido).<br>- From the <strong>Maps to</strong> dropdown, select <strong>Birth Date</strong>.<br>- Click <strong>Add Attribute Mapping</strong>, then <strong>Save</strong>.<br>- Click <strong>Update</strong> to save the changes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Y3EbQ1QsWEObbZ6uc9Jxw.png" /></figure><p>The Onfido connection is now configured and ready for use. You can now proceed to integrate it with your application.</p><h3>Integrate Onfido into Your application</h3><p>Now that we’ve configured an Onfido connection in Asgardeo, it’s time to see this integration in action within a sample application. While we’ll be using the provided <a href="https://github.com/wso2-extensions/identity-verification-onfido/releases/download/v1.0.0/onfido-sample-app.zip">Onfido sample application</a> in this guide, you are free to adapt these steps to your own applications.</p><p><strong>Sett Up an Application in Asgardeo</strong></p><p>First, let’s create an application in Asgardeo to represent our client:</p><ul><li>In the Asgardeo Console, navigate to <strong>Applications</strong> on the left-hand panel.</li><li>Click <strong>+</strong> <strong>New Application </strong>and select <strong>Single-Page Application </strong>as the application type<strong>.</strong></li><li>Give your application a descriptive name.</li><li>In the <strong>Authorized redirect URLs </strong>field, enter <a href="https://localhost:3000.">https://localhost:3000.</a></li><li>Click “Create” to complete the creation of the application in Asgardeo.</li><li>Next navigate to the <strong>User Attributes</strong> tab. Search for <strong>Birth Date</strong> and mark it as <strong>Mandatory</strong>. (This is because the Onfido sample application requires the user’s birth date to verify their age. If the birth date isn’t provided during login, the user will be prompted to add it).</li><li>Click <strong>Update</strong> to save these changes.</li><li>Navigate to the <strong>Protocol</strong> tab. Copy the <strong>Client ID</strong>; you’ll need it when configuring the Onfido sample application.</li></ul><p><strong>Create a Test User</strong></p><p>Now, let’s create a user for testing purposes:</p><ul><li>In the Asgardeo Console, go to <strong>User Management</strong> and then click <strong>Users</strong> in the left-hand panel.</li><li>Click <strong>+ Add User </strong>and select <strong>Single User</strong>.</li><li>Provide the required information, including a username, first name, last name, and password.</li></ul><blockquote><strong>Note:</strong> Make absolutely sure that the first name and the last name you enter here <em>exactly match</em> the names shown on the government-issued document (e.g., National Identity Card, Driver’s License, Passport) you will use for the verification process. Any discrepancies will cause the verification to fail.</blockquote><p><strong>Configure the Onfido Sample Application</strong></p><p>We’ll now set up the Onfido sample application. This application simulates an insurance company, Guardio Life, where users must verify their identity and age to select plans.</p><ul><li>Download the <a href="https://github.com/wso2-extensions/identity-verification-onfido/releases/download/v1.0.0/onfido-sample-app.zip">Onfido sample application</a> and extract the zip file.</li><li>Open the <strong>runtime-config.json</strong> file in the <strong>public</strong> directory and update it with your:<br>- Asgardeo registered application’s <strong>Client ID.<br>- </strong>Onfido <strong>Identity Verification Provider ID</strong> that you copied in the previous section.<br>- Your Asgardeo <strong>organization name</strong>.</li></ul><pre>{<br>    &quot;clientID&quot;: &quot;&lt;CLIENT_ID&gt;&quot;,<br>    &quot;baseUrl&quot;: &quot;https://api.asgardeo.io/t/&lt;ORGANIZATION&gt;&quot;,<br>    &quot;signInRedirectURL&quot;: &quot;https://localhost:3000&quot;,<br>    &quot;signOutRedirectURL&quot;: &quot;https://localhost:3000&quot;,<br>    &quot;userPortalURL&quot;: &quot;https://api.asgardeo.io/t/&lt;ORGANIZATION&gt;/myaccount&quot;,<br>    &quot;scope&quot;: [ &quot;openid&quot;, &quot;profile&quot;, &quot;internal_login&quot;],<br>    &quot;identityVerificationProviderId&quot;: &quot;&lt;ONFIDO_IDVP_ID&gt;&quot;<br>}</pre><ul><li>Save the modified runtime-config.json file.</li><li>In the root directory of the sample application, run the command,</li></ul><pre>npm install &amp;&amp; npm start</pre><blockquote><strong>Note</strong>: If you don’t have node, <a href="https://docs.npmjs.com/downloading-and-installing-node-js-and-npm">install npm and node</a> in your local environment.</blockquote><ul><li>The application will now be accessible at <a href="https://localhost:3000/">https://localhost:3000</a>.</li></ul><h3><strong>Try it Out</strong></h3><p>Let’s run through a user scenario:</p><ul><li>Open your web browser and go to <a href="https://localhost:3000.">https://localhost:3000.</a> You’ll be redirected to the Onfido sample application’s login page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o5WCXcKcYv4VgdcDMX_j0w.png" /></figure><ul><li>Log in using the test user account you created in Asgardeo.</li><li>Since we did not set a birth date for the user, you will now be prompted to add it. Provide the birth date as same as in the government-issued document and proceed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nfjKP2YxBtCMMFLDvEv9WQ.png" /></figure><ul><li>Click the <strong>Verify Age</strong> button to begin the age and identity verification process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Mrr-0pXtCx2AyobNlBaWA.png" /></figure><ul><li>Carefully follow the instructions provided by the Onfido SDK. You will be prompted to upload necessary documents and capture a selfie.</li><li>Once the documents are submitted, you will be redirected to a screen indicating “Age Verification in Progress!”. Click <strong>Back to Home</strong>.</li></ul><blockquote><strong>Note: </strong>The verification process will typically take 3–4 minutes to complete.</blockquote><ul><li>After waiting for the expected time, refresh the page. You should see that the verification has been successful.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*ZBMWj_G2Znn5i6U7KHll_Q.gif" /></figure><blockquote><em>Note:</em> If you encounter an error stating that “Age verification failed,” double-check that the first name, last name, and birth date you used when creating the test user in Asgardeo <em>exactly</em> matches the information extracted from the documents submitted during the Onfido verification process. Any mismatches will cause the verification to fail. Correct any errors and try again.</blockquote><p>Congratulations!🎉 You’ve successfully integrated Onfido with Asgardeo, unlocking a powerful and customizable identity verification solution for your applications.🔐✨ This integration not only enhances your security posture but also enables you to deliver seamless user experiences. As you move forward, remember the potential for further customization and optimization, allowing you to continually refine and improve your secure, user-centric digital experiences. I hope you found this guide both insightful and empowering!🤗</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c0b8aad0e8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Next-Gen Security: Elevating User Experience with WSO2 Identity Server Passkey Authentication]]></title>
            <link>https://medium.com/@mhfafra/next-gen-security-elevating-user-experience-with-wso2-identity-server-passkey-authentication-efd7e1b27711?source=rss-a26bd59606b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/efd7e1b27711</guid>
            <category><![CDATA[passwordless]]></category>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[wso2is]]></category>
            <category><![CDATA[passkey]]></category>
            <dc:creator><![CDATA[Afra Hussaindeen]]></dc:creator>
            <pubDate>Tue, 23 Apr 2024 05:20:43 GMT</pubDate>
            <atom:updated>2024-04-26T08:10:57.706Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back to our journey through the evolving landscape of digital security and authentication! After our deep dive into the world of <a href="https://medium.com/@mhfafra/passkeys-unlocked-revolutionizing-digital-security-and-access-e6b7605b2f40">Passkeys</a>, it’s time to get hands-on. Today, we’re exploring how to supercharge your applications with Passkey Authentication using <a href="https://wso2.com/identity-server/">WSO2 Identity Server (IS)</a>, a leader in identity management.</p><h3>Passkey Authentication in WSO2 IS</h3><p>At the heart of WSO2 IS’s appeal for integrating Passkey Authentication lies a dual focus: improves security while simultaneously enhancing the user experience. This is where WSO2 IS truly shines, thanks to two pivotal features: Passkey Usernameless Authentication and Passkey Progressive Enrollment.</p><h4>Passkey Usernameless Authentication</h4><p>Say goodbye to the cumbersome username fields. WSO2 IS introduces Passkey Usernameless Authentication, a feature that allows users to leap over the username step directly into passkey authentication. This not only speeds up the login process but also significantly boosts user convenience. Enabled by default in WSO2 IS, this feature is a nod towards a future where logging in is a seamless, almost invisible process. For cases where usernames are still required, WSO2 IS hasn’t forgotten you. It offers the flexibility to customize authentication flows, ensuring that Usernameless Authentication fits perfectly within various application contexts.</p><h4>Passkey Progressive Enrollment</h4><p>Progressive Enrollment brings a dynamic twist to securing user logins. Instead of the traditional static registration processes, WSO2 IS’s Passkey Progressive Enrollment integrates the passkey enrollment directly into the login flow. This innovation means users can set up their passkeys as they log in, combining heightened security with unmatched convenience. While this feature isn’t on by default, enabling it through the WSO2 IS console is a straightforward process that eradicates the need for prior Passkey registration, streamlining user access like never before.</p><p>These features underscore WSO2 IS’s commitment to redefining the user authentication experience, combining robust security with unparalleled ease of use. It’s crucial to note that these configurations apply at an organizational level, ensuring a unified authentication experience across all applications within an organization.</p><h3>Passkey Usernameless Authentication</h3><p>Now, it’s time to delve into setting up a simple login flow using the passkey authenticator within WSO2 Identity Server. Here we’ll focus on the authenticator’s <strong>default behaviour</strong>, <strong>usernameless authentication enabled</strong>. For the initial setup, keep in mind that since <strong>passkey progressive enrollment</strong> is <strong>not active</strong> by default, users are required to enroll their passkeys via the <strong>MyAccount</strong> portal.</p><h4>Step 1 : Setting Up Your Environment with WSO2 IS</h4><p>To utilize Passkey Authentication, the first step involves setting up WSO2 Identity Server. Here’s how you can get started:</p><ul><li>Download the latest release of WSO2 Identity Server at <a href="https://wso2.com/identity-server/">https://wso2.com/identity-server/</a>.</li><li>Start the server by navigating to the &lt;IS_HOME&gt;/bin directory. Execute the appropriate command based on your operating system:</li></ul><pre># Windows<br>wso2server.bat<br><br># Linux/ Mac OS<br>wso2server.sh</pre><ul><li>Once the sever is up, navigate to the Identity Server console by accessing <a href="https://localhost:9443/console">https://localhost:9443/console</a>.</li><li>Log in as the administrator using the default credentials (Username: admin, Password: admin).</li></ul><h4>Step 2 : User Creation and enrolling a passkey via MyAccount portal</h4><p>To create a user and to enroll the passkey , simply follow the steps below:</p><ul><li>Open the WSO2 Identity Server Console and navigate to <strong>User Management </strong>section, then click on <strong>Users</strong>.</li><li>Click the <strong>Add User</strong> button, select the <strong>Single User</strong> option, and fill in the necessary details to create a new user.</li><li>Once the user is created, sign into the <strong>MyAccount</strong> portal at <a href="https://localhost:9443/myaccount">https://localhost:9443/myaccount</a> with the new user’s credentials.</li><li>In the My Account portal, go to the <strong>Security</strong> tab and select <strong>Additional Authentication</strong>.</li><li>You’ll see a “<strong>+</strong>” icon next to the Passkey option. Click this and follow the instructions provided by your browser.</li><li>Once the setup is complete, you’ll receive a prompt confirming the successful enrollment of the passkey. You’ll then be asked to name your new passkey. After naming, click <strong>Save</strong> to complete the process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_BFStEU0t_6LWpCasTXNQ.jpeg" /><figcaption>Fig 1 : Enroll the passkey via MyAccount portal</figcaption></figure><h4>Step 3 : Creating an Application and Enabling Passkey Login</h4><p>After setting up the user, the next step is to create an application that uses Passkey authentication. Here’s how to proceed:</p><ul><li>First, ensure a sample application is deployed on a Tomcat server. Follow the setup instructions detailed in the WSO2 documentation at <a href="https://is.docs.wso2.com/en/latest/get-started/try-samples/qsg-oidc-webapp-java-ee/#sample-oidc-java-ee-web-app">WSO2’s guide</a> to deploy a Java EE sample web application (oidc-sample-app) locally.</li><li>Next on the WSO2 Identity Server Console, navigate to the <strong>Applications</strong> section and open the application you just created.</li><li>To enable Passkey login, navigate to the <strong>Login Flow</strong> tab within your application’s settings.</li><li>Next go to <strong>Predefined Flows</strong> &gt; <strong>Basic Login Flows</strong> &gt; <strong>Add Passwordless login</strong>.</li><li>Select <strong>Passkey</strong>.</li><li>Click <strong>Confirm</strong> to add passwordless login with Passkey to the sign-in flow.</li><li>Click <strong>Update</strong> to save your changes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uPQpewViCAE_rHy2dn3U1w.jpeg" /><figcaption>Fig 2 : Enable Passkey login</figcaption></figure><h4>Step 4: Trying Out the Passkey Authentication Flow</h4><p>Now it’s time to put the Passkey authentication to the test with your setup. Let’s break down the steps:</p><ul><li>Open your web browser and enter <a href="http://localhost:8080/oidc-sample-app/index.html">http://localhost:8080/oidc-sample-app/index.html</a> to access the sample application&#39;s homepage.</li><li>Click on the Login button and then you will be redirected to the WSO2 Identity Server passkey login page to proceed with Passkey authentication.</li><li>Follow the on-screen instructions from your browser or device to authenticate using your passkey, completing the login process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pm1gMQQzFtzbKBfUJ-p1kg.jpeg" /><figcaption>Fig 3 : Passkey login flow</figcaption></figure><h3>Passkey Progressive Enrollment</h3><p>After exploring the basics of Passkey Authentication and how to enable usernameless authentication in WSO2 Identity Server, it’s time to delve into the next feature: Passkey Progressive Enrollment that allows on-the-fly passkey enrollment during the login process. Let’s break down the steps to enable this advanced feature using the same WSO2 IS setup.</p><h4>Step 1: Enabling Passkey Progressive Enrollment for the Application</h4><p>The process begins by configuring the WSO2 IS environment to support passkey progressive enrollment:</p><ul><li>Log into the WSO2 Identity Server console at https://localhost:9443/console using administrator credentials.</li><li>Navigate to <strong>Connections</strong>, select the <strong>Passkey</strong> section.</li><li>In the <strong>Settings</strong> tab, tick the <strong>Allow passkey progressive enrollment</strong> checkbox and click <strong>Update</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2F4rZC8Mk-dfg3GAUZrSrg.png" /><figcaption>Fig 4 : Enable passkey progressive enrollment</figcaption></figure><ul><li>Next, go to <strong>Applications</strong> and select the application configured previously.</li><li>Under the application’s <strong>Login Flow </strong>tab, follow the steps below to add the adaptive script related to progressive enrollment feature. <br>- Go to <strong>Predefined Flows</strong> &gt; <strong>Conditional Login Flows</strong>.<br>- Click <strong>Passkey Enrollment</strong> &gt; <strong>Passkey Progressive Enrollment</strong> &gt; <strong>ADD</strong>.<br>- Click <strong>Confirm</strong> to replace any existing script with the selected predefined script.<br>- Enable the <strong>Conditional Authentication</strong> toggle located at the bottom of the editor.</li><li>Click <strong>Update</strong> to save your changes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1l10Ta03aI-Y0nbEikdDcQ.png" /><figcaption>Fig 5 : Add passkey progressive enrollment adaptive script</figcaption></figure><p><strong><em>Important Notes :</em></strong></p><ul><li><em>Adding the passkey progressive enrollment adaptive script, modifies the authentication flow to include only the </em><strong><em>Username &amp; Password</em></strong><em> and </em><strong><em>Passkey</em></strong><em> authenticators in the first step.</em></li><li><em>The </em><strong><em>Username &amp; Password </em></strong><em>authenticator is used to verify user identity before proceeding with passkey enrollment.</em></li><li><em>If you wish to allow the use of other authentication methods like Email OTP, SMS OTP, or federated authenticators for verifying user identity prior to passkey enrollment, you need to manually incorporate them into the authentication flow’s first step.</em></li><li><em>Users intending to use federated authenticators to perform user identity verification during passkey progressive enrollment must have their external accounts already provisioned within WSO2 Identity Server. If, for example, a user logs in with Google using an account not provisioned in WSO2 Identity Server, passkey enrollment results in an error and the login flow fails.</em></li></ul><h4>Step 2 : User Creation</h4><p>After configuring the application, the next step is to create a user for testing the flow:</p><ul><li>Open the WSO2 Identity Server Console and navigate to <strong>User Management </strong>section, then click on <strong>Users</strong>.</li><li>Click the <strong>Add User</strong> button, select the <strong>Single User</strong> option, and fill in the necessary details to create a new user.</li></ul><h4>Step 3 : Trying out the passkey progressive enrollment Flow</h4><p>With the user created, it’s time to test the Passkey authentication setup:</p><ul><li>Access the application via its URL (e.g., <a href="http://localhost:8080/oidc-sample-app/index.html).">http://localhost:8080/oidc-sample-app/index.html).</a></li><li>Click on <strong>Login</strong>, which will redirect you to the WSO2 IS multi-option login page.</li><li>Select <strong>Sign In With Passkey</strong>.</li><li>To enroll a new passkey, enter your username and select <strong>Create a passkey</strong>.</li><li>Enter the corresponding password for the user and click <strong>Sign In</strong>.</li><li>Follow the instructions given by your browser or device to enroll the passkey.</li><li>Give a name to uniquely identify your passkey.</li><li>Click <strong>Submit</strong> to complete the enrollment. You’ll be authenticated in the application.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L4LpJinfqDGgegTxrBJwVw.png" /><figcaption>Fig 6 : Enrolling the passkey during the login flow</figcaption></figure><p>And that’s a wrap on our journey through Passkey Authentication with WSO2 Identity Server! We’ve delved into how features like Usernameless Authentication and Passkey Progressive Enrollment can make logins quicker and smoother. I hope this guide has given you a clear idea of how these tools can enhance the security and user experience of your digital platforms. See you soon with another exciting article!</p><p>Resources:</p><p>[1] <a href="https://medium.com/@mhfafra/passkeys-unlocked-revolutionizing-digital-security-and-access-e6b7605b2f40">Passkeys Unlocked: Revolutionizing Digital Security and Access</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efd7e1b27711" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passkeys Unlocked: Revolutionizing Digital Security and Access]]></title>
            <link>https://medium.com/@mhfafra/passkeys-unlocked-revolutionizing-digital-security-and-access-e6b7605b2f40?source=rss-a26bd59606b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6b7605b2f40</guid>
            <category><![CDATA[fido2]]></category>
            <category><![CDATA[multi-device-sync]]></category>
            <category><![CDATA[passkey]]></category>
            <category><![CDATA[mfa]]></category>
            <category><![CDATA[passwordless]]></category>
            <dc:creator><![CDATA[Afra Hussaindeen]]></dc:creator>
            <pubDate>Wed, 06 Mar 2024 02:07:26 GMT</pubDate>
            <atom:updated>2024-03-06T02:07:26.146Z</atom:updated>
            <content:encoded><![CDATA[<p>As we delve deeper into the realms of digital security and user convenience, our previous exploration of the Fast Identity Online (FIDO) protocols <a href="https://medium.com/@mhfafra/beyond-passwords-understanding-the-fido-revolution-0bfaf6485855">[1]</a> laid the groundwork for a revolutionary shift away from traditional password dependency. In this continued journey, let’s explore the world of passkeys and their role in shaping the future of digital access.</p><h3>Understanding Passkeys</h3><p>Passkeys represent the next step in the evolution of digital authentication, building on the FIDO standards to provide a seamless and secure user experience. Unlike the passwords of old, passkeys eliminate the need for users to remember complex strings of characters, thereby reducing the risk of phishing attacks and enhancing overall security. There are primarily two types of passkeys, each catering to different user needs and scenarios:</p><h4><strong>Single-Device Passkeys:</strong></h4><p>These passkeys are confined to a single device, offering a robust layer of security by restricting access to a single device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTuT2MO_zFJAHXy1R5iIvg.png" /><figcaption>Single-Device passkeys. Image source: <a href="https://fidoalliance.org/wp-content/uploads/2022/03/How-FIDO-Addresses-a-Full-Range-of-Use-Cases-March24.pdf">FIDO Alliance whitepaper</a></figcaption></figure><h4><strong>Multi-Device Passkeys:</strong></h4><p>Conversely, multi-device passkeys are designed for flexibility, allowing users to authenticate across various devices, thus supporting a more connected and mobile digital lifestyle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lQLdRSZg1RIIynWDgLB_0g.png" /><figcaption>Multi-Device passkeys. Image source: <a href="https://fidoalliance.org/wp-content/uploads/2022/03/How-FIDO-Addresses-a-Full-Range-of-Use-Cases-March24.pdf">FIDO Alliance whitepaper</a></figcaption></figure><p>Leading technology providers have made strides in integrating passkey functionality within their ecosystems. For those in the Apple ecosystem, passkeys are effortlessly synchronized across devices linked to the same Apple ID and iCloud Keychain, ensuring a unified experience. For more detailed insights, refer <a href="https://developer.apple.com/passkeys/">Apple’s documentation</a>.</p><p>Android enthusiasts are not left behind, as passkeys on Android devices synchronize via Google accounts, streamlining access across various devices. <a href="https://developers.google.com/identity/passkeys">Google’s documentation</a> offers further clarification and guidance on this process.</p><p>In instances where cloud synchronization is not feasible, an innovative solution permits users to generate a QR code on one device and scan it with another, housing the passkeys, to facilitate successful application login. This process underscores the adaptability and user-focused design of passkey technology.</p><h3>How does Passkey Work?</h3><h4>1. Creating Passkey:</h4><ul><li><strong>User Registration:</strong> The journey starts when a user signs up with a service or app. Here instead of setting up a password, the device generates two cryptographic keys: a private one for the user and a public one for the service.</li><li><strong>Key Management:</strong> The private key is kept safe on the user’s device, never to be shared, while the public key is sent to the service and linked to the user’s account.</li></ul><h4>2. Authenticating with passkey:</h4><ul><li><strong>Authentication Request:</strong> To log in, the service first requests for authentication.</li><li><strong>User Identity Confirmation: </strong>The user then confirms their identity through an option available on their device, like fingerprint or facial recognition, or a PIN, verifying that the authentication request comes from the genuine user.</li><li><strong>Cryptographic Signature Process: </strong>The device signs a cryptographic challenge from the service using the private key. This signature is then returned to the service as evidence of the user’s identity.</li><li><strong>Identity Verification: </strong>The service checks the signed challenge with the public key linked to the user’s account. As the private key is exclusive to the user’s device, a successful check confirms the user’s identity without requiring a password.</li></ul><h4><strong>3. Passkey Synchronization:</strong></h4><ul><li>Cloud-Based Synchronization: For those using multiple devices, passkeys can sync over the cloud (via Apple iCloud, Google account, etc.), allowing smooth logins across all devices.</li><li>Local Synchronization: Coversely, devices can transfer passkeys via local connections, such as QR codes, making it possible to authenticate on a new device without requiring the original one to be connected.</li></ul><h3>Passkey Adoption and Usage</h3><p>The use of passkeys is rapidly increasing across digital platforms, recognized for streamlining authentication with simplicity and efficiency. As they align with FIDO2 standards, passkeys are setting a new standard for secure access to applications, websites, and operating systems. This trend underlines the technology’s critical role in advancing digital security and improving user experiences. For insights into device compatibility and adoption trends, visit <a href="https://passkeys.dev/device-support/)">passkeys.dev/device-support</a>.</p><p>And there you have it, our deep dive into the world of passkeys comes to a close. I hope you’ve picked up some intriguing insights along the way. But hold tight, we’re just getting started! the upcoming article will take you through the hands-on experience of using passkeys login with WSO2 Identity Server. Get ready for an exciting journey into the practical side of this technology. Stay tuned for more thrilling tech explorations! 🚀💼 See you on the next adventure!</p><p>Resources:</p><p>[1] <a href="https://medium.com/@mhfafra/beyond-passwords-understanding-the-fido-revolution-0bfaf6485855">Beyond Passwords: Understanding the FIDO Revolution</a></p><p>[2] <a href="https://fidoalliance.org/wp-content/uploads/2022/03/How-FIDO-Addresses-a-Full-Range-of-Use-Cases-March24.pdf">https://fidoalliance.org/wp-content/uploads/2022/03/How-FIDO-Addresses-a-Full-Range-of-Use-Cases-March24.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6b7605b2f40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Passwords : Understanding the FIDO Revolution]]></title>
            <link>https://medium.com/@mhfafra/beyond-passwords-understanding-the-fido-revolution-0bfaf6485855?source=rss-a26bd59606b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/0bfaf6485855</guid>
            <category><![CDATA[passkey]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[fido]]></category>
            <category><![CDATA[passwordless]]></category>
            <category><![CDATA[fido2]]></category>
            <dc:creator><![CDATA[Afra Hussaindeen]]></dc:creator>
            <pubDate>Fri, 02 Feb 2024 03:20:11 GMT</pubDate>
            <atom:updated>2024-02-04T10:12:19.269Z</atom:updated>
            <content:encoded><![CDATA[<h3>Beyond Passwords: Understanding the FIDO Revolution</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*78T-_5TpH7jYVVMXorq3Fw.png" /></figure><h3>Unraveling the FIDO Mystery</h3><p>Let’s break down the complex world of FIDO (Fast Identity Online) into something a bit more digestible, shall we? Imagine a world where you don’t need to remember any passwords because your phone or computer just knows it’s you. That’s what FIDO is all about — making it easier and safer to access your stuff online.</p><h3>The Genesis of FIDO</h3><p>FIDO, standing for Fast Identity Online, is like a digital handshake between your device and the online world. Think of it as using your fingerprint, facial recognition, or a security key as your online identity. This innovation was born out of a collective desire by tech giants for a safer, password-free internet experience. It’s the balance of security with simplicity.</p><h3>The FIDO Protocols Explained</h3><h4>UAF: A World Without Passwords</h4><p>The User Authentication Framework (UAF) aims to revolutionize security by ditching traditional passwords. Instead, it embraces more personal security methods like biometrics or security keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*RQ5kym-Y__IRgPG9tO4Elg.png" /><figcaption>Illustration of a passwordless authentication process using biometric verification under UAF standards.</figcaption></figure><p><strong>How It Works</strong></p><ul><li><strong>Key Pair Creation: </strong>On registration with a service initiates a process where your device generates two keys — a private key (stored securely) and a public key (shared with the service).</li><li><strong>Authentication:</strong> Log in involves a simple action, such as a fingerprint scan, facing the camera, talking into the microphone or entering a PIN. This triggers your device to use its private key to respond to a security question from the service, essentially signing a challenge-response from the service, which is then validated using the public key.</li></ul><p><strong>Key Features</strong></p><ul><li><strong>Security: </strong>UAF keeps your login and biometric data local, enhancing security.</li><li><strong>User Experience:</strong> UAF offers a hassle-free login experience, eliminating the password amnesia.</li></ul><h4>U2F: An Extra Security Step</h4><p>The Universal 2nd Factor (U2F) introduces an additional security measure to your login/password routine, involving something physical that you possess, like a security key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZcESBdRXPVWtgGLl7U0g_Q.png" /><figcaption>Illustration of a two-factor authentication process compliant with U2F standards, involving login with password followed by a FIDO security key verification.</figcaption></figure><p><strong>How It Works</strong></p><ul><li><strong>Device Registration:</strong> Linking a U2F device with your service is the first step, where it generates and stores a new key pair for future authentication.</li><li><strong>Two-Step Verification</strong>: Post-password entry, the U2F device confirms your identity by responding to a prompt from the service.</li></ul><p><strong>Key Features</strong></p><ul><li><strong>Security:</strong> U2F amps up your defense by demanding something you physically have, setting a higher barrier for unauthorized access.</li><li><strong>User Experience:</strong> Though it adds an extra login step, the trade-off is a significantly fortified security layer.</li></ul><h4>FIDO2: The Evolution</h4><p>FIDO2 is where things get exciting — it’s a blend of UAF and U2F, offering a streamlined authentication experience across various devices and platforms. It supports passwordless, second-factor, and multi-factor authentication methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SF2v8dhUpI5mdt8RUqir8g.png" /><figcaption>A schematic of FIDO2 authentication flow, showing app-to-browser requests, options for on-device or external authenticators, and server-side verification.</figcaption></figure><p><strong>Components</strong></p><ul><li><strong>WebAuthn (Web Authentication):</strong> A standard web API that is being integrated into browsers and platforms to facilitate support for FIDO authentication.</li><li><strong>CTAP2 (Client to Authenticator Protocol):</strong> Facilitates the interaction of devices (such as smartphones, security keys) with browsers and operating systems that support FIDO, using USB, NFC, or BLE connections.</li></ul><p><strong>How It Works</strong></p><ul><li><strong>Tech Foundation: </strong>WebAuthn and CTAP2 enable direct communication between your device and online services.</li><li><strong>Flexible Authentication:</strong> The process is adaptable, allowing you to choose your preferred method of proving your identity, from a simple fingerprint to a security key tap.</li></ul><p><strong>Key Features</strong></p><ul><li><strong>Security: </strong>Robust yet adaptable to different tech environments.</li><li><strong>User Experience: </strong>Tailored for convenience, offering a variety of secure login options.</li></ul><h3>How FIDO Keeps You Safe</h3><p>The brilliance of FIDO lies in its ingenious application of <strong>public key cryptography </strong>, which enhance online security through two primary processes :</p><h4><strong>1. Registration</strong></h4><blockquote><strong>Creates a unique key pair (private and public) per account.</strong></blockquote><p>When a user registers a FIDO device with a service, the device creates a unique pair of keys — a private key stored securely on the device and a public key sent to the service. This process is done once per account.</p><h4><strong>2. Authentication</strong></h4><blockquote><strong>Proves possession of the private key without sharing it.</strong></blockquote><p>During authentication, the service challenges the user to prove possession of the private key. The user authenticates with their FIDO device (through a fingerprint, PIN, etc.), and the device responds to the challenge. The service then verifies this response using the stored public key.</p><p>This method significantly lowers the risk of data breaches.</p><h3>Why FIDO is Transformative</h3><ul><li><strong>Better Security:</strong> FIDO makes it much harder for hackers to gain access to your accounts. Since it doesn’t rely on easily stolen passwords, your online identity is safer.</li><li><strong>Privacy First</strong>: With FIDO, your biometric data or personal information doesn’t leave your device. You prove it’s you without sharing the details.</li><li><strong>Ease of Use:</strong> No more struggling to remember or reset passwords. Logging in becomes as simple as touching a sensor or inserting a USB key.</li></ul><h3>Points to Remember</h3><p>FIDO is awesome, but not every website uses it yet. It’s getting more popular, but it might take some time before you can use it everywhere. And if you’re using a security key, don’t lose it, or you’ll have trouble getting into your accounts.</p><h3>Conclusion</h3><p>FIDO is revolutionizing the way we think about online security. By making it easier and safer to access our digital spaces, FIDO protocols are setting a new standard for digital authentication. It’s a step towards a future where logging in is effortless, and our digital identities are more secure than ever.</p><p>We’ve uncovered the layers of FIDO, revealing its pivotal role in redefining secure online access.For more insights or to contribute your perspectives, drop a comment below.</p><p>Stay Secure!</p><h4>Resources</h4><p><a href="https://fidoalliance.org/">https://fidoalliance.org/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0bfaf6485855" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to integrate HYPR Authenticator with WSO2 IS?]]></title>
            <link>https://medium.com/@mhfafra/how-to-integrate-hypr-authenticator-with-wso2-is-cda77ca4103b?source=rss-a26bd59606b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/cda77ca4103b</guid>
            <dc:creator><![CDATA[Afra Hussaindeen]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 09:31:18 GMT</pubDate>
            <atom:updated>2023-04-24T09:31:18.315Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k7FU_7NkE3Vcc1zv" /></figure><p>Hey there! Are you concerned about data breaches and want to ensure the security of your user identities? If so, then you should consider HYPR Authenticator with WSO2 Identity Server. This passwordless multi-factor authentication solution is a great alternative to traditional passwords, and it provides a more secure and convenient authentication flow for your users.</p><p>So, what exactly is HYPR Authenticator in WSO2 IS? It is a federated authenticator that allows users to authorize an authentication request using a dedicated mobile device. Once the device completes the authorization, it requests the WSO2 Identity Server to authenticate the user into the service they are attempting to access. To get a better idea of how the authentication flow works with HYPR Authenticator, take a look at the diagram below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*-EsqfsZWzdi_k2HkDuewNg.png" /></figure><p>Now you have basic idea on how authentication flow works with HYPR authenticator. Now let’s try to configure HYPR Authenticator with WSO2 IS. Here’s what you’ll need:</p><ul><li>A configured HYPR environment. (Get the support from HYPR to configure a HYPR Application via the HYPR Control Center)</li><li>A HYPR user account and mobile app to use for testing.</li><li>A WSO2 IS pack. You can download the latest version at <a href="https://wso2.com/identity-server/">https://wso2.com/identity-server/</a></li></ul><p>Once you have the above prerequisites, you can set up and install the HYPR authenticator to WSO2 IS, deploy the HYPR Authenticator and configure it as a federated authenticator in WSO2 IS. It may sound complicated, but don’t worry, I’ll walk you through a detailed step-by-step guide.</p><h3>Step 1: Setting up and installing the HYPR Authenticator</h3><ol><li>Clone the <a href="https://github.com/wso2-extensions/identity-outbound-auth-hypr">identity-outbound-auth-hypr</a> repository.</li><li>Build the project by running mvn clean install in the root directory.</li><li>Copy the org.wso2.carbon.identity.application.authenticator.hypr-1.0.*-SNAPSHOT.jar file from identity-outbound-auth-hypr/components/org.wso2.carbon.identity.application.authenticator.hypr/target to the &lt;IS_HOME&gt;/repository/components/dropins directory.</li><li>Copy the org.wso2.carbon.identity.application.authenticator.hypr.common-1.0.*-SNAPSHOT.jar file from identity-outbound-auth-hypr/components/org.wso2.carbon.identity.application.authenticator.hypr.common/target to the &lt;IS_HOME&gt;/repository/components/lib directory.</li><li>Copy the api#hypr.war file from identity-outbound-auth-hypr/components/org.wso2.carbon.identity.application.authenticator.hypr.rest/org.wso2.carbon.identity.application.authenticator.hypr.rest.dispatcher/target to the &lt;IS_HOME&gt;/repository/deployment/server/webapps directory.</li><li>Copy the hyprlogin.jsp file from identity-outbound-auth-hypr/components/org.wso2.carbon.identity.application.authenticator.hypr/src/main/resources/artifacts to the &lt;IS_HOME&gt;/repository/deployment/server/webapps → authenticationendpoint directory.</li><li>Edit the deployment.toml file in &lt;IS_HOME&gt;/repository/conf and add the following lines of codes:</li></ol><pre>[[resource.access_control]]<br>context = &quot;(.*)/api/hypr/v1/authentication/status/(.*)&quot;<br>secure = &quot;false&quot;<br>http_method = &quot;GET&quot;<br><br>[tenant_context]<br>enable_tenant_qualified_urls = &quot;true&quot;<br>enable_tenanted_sessions = &quot;true&quot;<br>rewrite.custom_webapps=[&quot;/api/hypr/&quot;]</pre><h3>Step 2: Configuring HYPR Authenticator</h3><ol><li>Log in to the WSO2 IS Management Console.</li><li>Next navigate to the <strong>Identity Providers</strong> section under the <strong>Main</strong> tab and click the <strong>Add</strong> button. Then, give your new identity provider a name, such as “HYPR,” and register it.</li><li>After registering the identity provider, go to the <strong>Federated Authenticators</strong> section and expand the <strong>HYPR configurations</strong>. Now, you can configure the HYPR Authenticator by providing the following details.</li></ol><ul><li><em>Enable/Default: You can </em><strong><em>enable</em></strong><em> and set to </em><strong><em>default</em></strong></li><li><em>Base URL: The Base URL you received from HYPR upon creating a tenant for your organization.( Example :</em><em>https://&lt;organization name&gt;.hypr.com)</em></li><li><em>Relying Party App ID: The App ID you received for the application you created in the HYPR Control Center.</em></li><li><em>API Token: A new API token that is specifically generated for the HYPR App via the HYPR Control Center.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yH-8eLnX5XUsdbMA.png" /></figure><h3>Step 3: Configuring an Application with HYPR Authenticator</h3><ol><li>Start the server and log in to the WSO2 IS Management Console.</li><li>Under the <strong>Main</strong> tab, go to <strong>Service Providers</strong> and add a new Service Provider name. Let’s use the <strong>PickUp Dispatch</strong> app and refer <a href="https://is.docs.wso2.com/en/5.9.0/learn/deploying-the-sample-app/#deploying-the-pickup-dispatch-webapp">this</a> to configure the <strong>PickUp Dispatch</strong> app.</li><li>Then, go to <strong>OAuth/OpenID Configuration</strong> under <strong>Inbound Authentication Configuration</strong>.</li><li>Add <a href="http://localhost.com:8080/pickup-dispatch/oauth2client">http://localhost.com:8080/pickup-dispatch/oauth2client</a> as the callback URL.</li><li>Finally navigate to the <strong>Local &amp; Outbound Authentication Configuration</strong> section. From there, choose <strong>Federated Authentication</strong> and then select the previously configured federated authenticator. Make sure to save the changes to update the configuration.</li></ol><p>Now we are all done with setting up an application with HYPR as the federated authenticator . Let’s walk through the steps to test the scenario where we have set up an application with HYPR as the federated authenticator:</p><ol><li>Open your web browser and go to <a href="http://localhost.com:8080/pickup-dispatch/index.jsp"><strong>http://localhost.com:8080/pickup-dispatch/index.jsp</strong></a> to access the <strong>PickUp Dispatch</strong> app.</li><li>You will be redirected to the HYPR login page.</li><li>Enter an already registered username in HYPR.</li><li>Experience the federated authentication flow and successfully log in to the application.</li></ol><p>Check out the diagram below to see how the authentication flow works for a user logging in to the <strong>PickUp Dispatch</strong> app using HYPR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UfRsQpCVZbRTFak7.png" /></figure><p>Congratulations, we have arrived to the end of this article! In my opinion, HYPR Authenticator paired with WSO2 IS is a great solution for safeguarding user identities and sensitive information. With its passwordless multi-factor authentication flow, this solution not only reduces the risk of data breaches but also offers a smoother login experience for users. I hope you enjoyed this article as much as I enjoyed sharing it with you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cda77ca4103b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>