<?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 Tushar Vatsa on Medium]]></title>
        <description><![CDATA[Stories by Tushar Vatsa on Medium]]></description>
        <link>https://medium.com/@tushar.vatsa?source=rss-9a98f1dff348------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YKM1EblfkgOdrqlQ.jpg</url>
            <title>Stories by Tushar Vatsa on Medium</title>
            <link>https://medium.com/@tushar.vatsa?source=rss-9a98f1dff348------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:58:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tushar.vatsa/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[A brief history of web & authentication]]></title>
            <link>https://medium.com/@tushar.vatsa/a-brief-history-of-web-authentication-8c1886d916fe?source=rss-9a98f1dff348------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c1886d916fe</guid>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Tushar Vatsa]]></dc:creator>
            <pubDate>Fri, 21 Apr 2023 16:24:50 GMT</pubDate>
            <atom:updated>2023-04-21T16:24:50.765Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F28fVo4wHnGz1RT-AlA-7w.jpeg" /></figure><p>Authentication, also known as identity verification, is a crucial aspect of internet security that ensures the protection of sensitive information online.</p><p>The evolution of web technologies has significantly impacted how authentication is used on the internet. In this article, we will explore the use of authentication in each version of the web, from web 1.0 to web 6.0, and how identity verification has evolved over time.</p><p><strong>Web 1.0 ( ..1990&#39;s)</strong></p><p>Web 1.0, also known as the read-only web, was the first version of the world wide web service on internet that allowed users to access static web pages. Authentication was not a significant concern in this era, as the internet was primarily used for informational purposes. There was no need for users to provide any personal information or authenticate their identity to access these static web pages as the information contained in the web sites was mostly informational in nature and freely accessible by all.</p><p>The need for identity verification to allow only authorized entities to access the information was required to increase the scope of services that could be offered on the web.</p><p><strong>Web 2.0 (2004+)</strong></p><p>Web 2.0, also known as the interactive web, marked a significant shift in the way people used the internet. With the introduction of dynamic web pages and user-generated content like blogs, social networking sites (Myspace, Facebook, and Twitter), photo and video sharing websites such as (Flickr, Instagram, YouTube etc.) and new consumption methods like RSS feeds. Authentication became a critical aspect of web security. Web 2.0 introduced the concept of user accounts, where users could create a profile and log in to access personalized content.</p><p>The user-generated content was owned by the social networking sites, owing to privacy and user consent for sharing this data controls were increasingly built into the systems — but the users never had full control over the data they generated.</p><p>The use of usernames and passwords became widespread, and authentication became an essential tool to prevent unauthorized access to user accounts. However, username and password-based authentication systems (also known as the knowledge-based authentication) had their limitations and were vulnerable to being stolen, guessed, or leaked/hacked from websites. The proliferation of number of username/password combinations that the user would have to remember for various services was causing significant customer experience challenges on one hand and growing helpdesk costs for the website owners on the other.</p><p>This led to the idea of federation and web standards like SAML, WS-Fed were born to reduce the number of username/password combinations that users need to remember, the idea was that users could use one strong username/password combination to access all services using identity federation.</p><p>While federation found widespread adoption in the enterprise use cases, consumer use cases were benefited with the introduction of OAuth2.0 and Open ID connect perticularly in the mobile ear.</p><p>To make the password-based authentication more secure, authentication technology saw progression to 2FA (2nd factor authentication) &amp; Multi factor authentication. Having the centralization of username/password at one identity provider aided in the implementation and adoption of 2FA — particularly SMS based OTP, Email OTPs, Email Magic Links, and authenticator applications (like Google Authenticator, Okta Verify, Duo Security etc.)</p><p>Web 3.0</p><p>We are here somewhere between the overlap of web 2.0 and web 3.0</p><p>Web 3.0, also known as the semantic web, aims to make the internet more intelligent and intuitive by leveraging artificial intelligence and machine learning technologies. The web is becoming more machine readable and interoperable.</p><p>Authentication will become increasingly sophisticated in this era, with the use of biometric authentication methods such as fingerprint scanning (TouchID), facial recognition (FaceID), and iris recognition (as in sci-fi movies) will drive larger adoption to becoming a norm.</p><p>On machine to machine communication front the authentication methods are likely to upgrade from shared client secret approach to a more secure public-private key pair based authentication.</p><p>These authentication methods provided a higher level of security and made it more difficult for hackers to gain access to user accounts. However, the use of biometric authentication methods also raises concerns about privacy and data protection in some scenarios.</p><p>This era also is likely to witness the adoption of phishing resistant authenticators using webAuthN/FIDO2.0 and passkeys making the authentication process even more secure and user friendly.</p><p>There is an increasing need towards creation of a decentralized ecosystem which provides a more user-centric approach to managing digital identity. Allowing individuals to take back control over their personal data and content, while also enabling sharing and use for others with consent. Technologies like decentralized identifiers (DIDs), verifiable credentials and identity wallets will enable this while improving security and privacy.</p><p><strong>Future of web</strong></p><p>Things will get increasingly dynamic from here on, web iterations would also turn out more frequently than previously.</p><p>Web 4.0, also known as the intelligent web, is characterized using the Internet of Things (IoT) and the integration of technology into everyday life. Authentication in this era became more automated and seamless, with the use of smart devices and sensors that could detect and authenticate users automatically.</p><p>This technology will make it easier for users to access their accounts without the need for usernames, passwords, or even biometric authentication. However, the integration of technology into everyday life also raises concerns about data privacy and security.</p><p>Web 5.0, also known as the empathic web, aims to create a more personalized and empathic internet experience by leveraging emotional intelligence and human behavior analysis. web 5.0 is characterized by decentralized identity, Peer to Peer trust mechanisms and decentralized applications, new browser capabilities to support those applications and an ecosystem of decentralized data stores.</p><p>Web 6.0, also known as the symbiotic web, is a hypothetical version of the internet that aims to merge the physical and digital worlds. Authentication in this era will be based on the integration of biological and digital identities, such as DNA sequencing, brainwave analysis, and nanobots that can communicate with our bodies.</p><p>This technology will provide the highest level of security and make it virtually impossible for hackers to gain access to user accounts. However, it raises significant concerns about privacy and data protection, as the integration of biological and digital identities blurs the line between the physical and digital worlds.</p><p>Hope you have enjoyed reading this article and are excited about the future of web and the evolution of authentication.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c1886d916fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automate client secret rotation using OKTA Workflows]]></title>
            <link>https://medium.com/@tushar.vatsa/automate-client-secret-rotation-using-okta-workflows-c064ddf6687b?source=rss-9a98f1dff348------2</link>
            <guid isPermaLink="false">https://medium.com/p/c064ddf6687b</guid>
            <category><![CDATA[oauth]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[client-secret-rotation]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[okta]]></category>
            <dc:creator><![CDATA[Tushar Vatsa]]></dc:creator>
            <pubDate>Wed, 28 Dec 2022 10:22:34 GMT</pubDate>
            <atom:updated>2022-12-28T10:22:34.549Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WRotXnTgWxwuvS0bespCDA.png" /><figcaption>Reduce Administrative Overhead, while strengthing security</figcaption></figure><p>A large organization may have hundreds of APIs, securing the access to these APIs is essential to protecting the data exposed by these APIs.</p><p>The best practice is to secure the APIs using temporary OAuth based credentials (a.k.a Access Tokens) using the OAuth Client Credentials grant flow.</p><p>OKTA offers “API Access Management” which allows you to create custom authorization servers, onboard APIs, create consumers and define access policy/rules which determines when a Access Token can be issued to a client.</p><p>When you onboard a consumer application to an API, it receives a set of credentials namely the client ID and and client secret. It then uses these credentials to request the Authorization Server to mint an Access token with required authorized scopes. The final step is to use this Access Token to access the target API endpoint. Which validates the Access Token (locally using cached keys from Authorization Server or directly querying the authorization server on the instrospect endpoint) and if all is good, the access to API is allowed.</p><p>So far so good, you provided a long term credentials (client_id and client_secret) to the consumers which is used to request a temporary credential (Access Token) to access the APIs. The best practice is to rotate the client secret frequently to avoid any misuse of these long term credentials. OKTA offers client rotation as a function in the admin interface as well as APIs to perform this programmatically using a trusted application (either using SSWS token or service application).</p><p>Unfortunately this requires admins manual intervention or creating and securing a trusted application which can call the OKTA management APIs to rotate the secret, which is quite a effort to implement.</p><p>With hundreds of API consumers required to rotate the secret, rotating and passing the new client secret to consumers can soon become a bottleneck for the administrators. Secondly the secret is often shared using insecure out of band channels like emails — which further increases the attack surface for the overall solution.</p><p>OKTA workflows to the rescue, which is a no-code/low-code workflow to extend the functionality offered by Okta. Given that the consumers already have a valid client id and secret which can be verified within the workflow — we can automate the client secret rotation.</p><p>The workflow will offer 2 API calls to authorized clients — rotate and delete. Authorized clients can rotate existing credentials, i.e. generate a new client secret using the current secret as authorization and delete — which allows the clients to inactivate/delete the old secret after updating their configurations to use the newly rotated secret (after validating that the new secret works). All communication to workflow is secured over HTTPs and hence the same workflow invocation URL can be safely shared with all consumers.</p><p>Using the workflow only authorized consumers with a valid client ID and Secret will be able to rotate/delete their own secrets online without any admin involvement.</p><p>You can download the workflow form Github from the link below -</p><p><a href="https://github.com/tusharvatsa/okta-client-secret-rotation-workflow">https://github.com/tusharvatsa/okta-client-secret-rotation-workflow</a></p><p>The flow is in-built with the following features -</p><ol><li>An API endpoint to accept a JSON request from consumers</li><li>Validation of inputs and generation of error if input are not validated</li><li>IP based restriction on source IP authorized to call the endpoint</li><li>Rate-Limit to prevent abuse of workflow</li><li>Configurable list of authorized clients</li><li>Validation of Client ID and Secret before allowing operation</li><li>Allow authorized clients to rotate the client_secret via API call using their existing Client ID and Secret</li><li>Allow authorized clients to inactivate/delete the old client_secret via API call using existing Client ID and Secret</li><li>Safeguards to prevent accidental deletion of old client_secret</li></ol><p>If you have already worked with OKTA workflows before, you will find the workflow very intuitive to follow, if not hit me with a comment and I will be happy to elaborate more on the workflow.</p><p>If you found this helpful in automating some of your manual work, i would request you to encourage me by hitting the clap icon below. If you have suggestions to extend or improve on the functionality do let me know in the Github repo.</p><p>Cheers! And keep automating.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c064ddf6687b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>