<?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 Narayan Gowraj on Medium]]></title>
        <description><![CDATA[Stories by Narayan Gowraj on Medium]]></description>
        <link>https://medium.com/@gowrajn?source=rss-2f250d2dc3fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qaaSqI7cuoKFfZHjkIV6Zw.jpeg</url>
            <title>Stories by Narayan Gowraj on Medium</title>
            <link>https://medium.com/@gowrajn?source=rss-2f250d2dc3fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 01:47:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gowrajn/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[pypwdless — Passwordless Authentication In Python]]></title>
            <link>https://medium.com/@gowrajn/pypwdless-passwordless-authentication-in-python-b074f3369b83?source=rss-2f250d2dc3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b074f3369b83</guid>
            <category><![CDATA[passwordless]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[one-time-password]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Narayan Gowraj]]></dc:creator>
            <pubDate>Tue, 30 Apr 2019 00:23:49 GMT</pubDate>
            <atom:updated>2019-04-30T00:23:49.937Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>pypwdless — Passwordless Authentication in Python</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*PfIk7n8k42OPSkfxuK-wxg.png" /></figure><p>I had a production ready python web app and wanted to extend authentication to the same. I had some options and time was not my friend. I wanted something secure, quick and with very less dependencies. I was not inclined towards building a username/password authentication since I had to maintain state and a separate datastore for passwords.</p><p>I decided to go ahead with a passwordless based authentication using one-time expiring authentication code where a code is sent to a user’s email address/registered phone number and later validated for authentication. Once a code is validated successfully, it can be extended to a native session.</p><p>After extending authentication to my web app and everything worked great, I decided to package the authentication code as a python library. I have published this as pypwdless =&gt; <a href="https://pypi.org/project/pypwdless/">https://pypi.org/project/pypwdless/</a>.</p><p>More details: <a href="https://github.com/narayan8291/pypwdless">https://github.com/narayan8291/pypwdless</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b074f3369b83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Expunger — Bulk Slack Delete]]></title>
            <link>https://medium.com/@gowrajn/expunger-bulk-slack-delete-db197152f9ad?source=rss-2f250d2dc3fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/db197152f9ad</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[delete]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[slack]]></category>
            <dc:creator><![CDATA[Narayan Gowraj]]></dc:creator>
            <pubDate>Wed, 10 Apr 2019 18:47:20 GMT</pubDate>
            <atom:updated>2019-04-10T18:47:20.279Z</atom:updated>
            <content:encoded><![CDATA[<h3>Expunger — Bulk Delete Slack Files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*hTXHND0eYYGnorX3g_nn-g.jpeg" /></figure><p>I was working on building a Slack bot for an automation project. This project left me with a bunch of valid/dummy files on a private slack channel.</p><p>After the completion of my project, I wanted to bulk delete files from the channel but is wasn’t straightforward. I did a quick google search and found some useful git gists and some online tools.</p><ol><li><a href="https://gist.github.com/Paradoxis/6ea7b77f5415c7e72a297b1e48cd8be9">https://gist.github.com/Paradoxis/6ea7b77f5415c7e72a297b1e48cd8be9</a></li><li><a href="https://gist.github.com/jackcarter/d86808449f0d95060a40">https://gist.github.com/jackcarter/d86808449f0d95060a40</a></li><li><a href="https://www.slackdeletron.com/">https://www.slackdeletron.com/</a></li><li><a href="https://bulk-delete-slack-files.herokuapp.com/">https://bulk-delete-slack-files.herokuapp.com/</a></li></ol><p>I am not a big fan of sharing my Slack token (required for file deletion) on random platforms. Hence, I had to stick with options #1 and #2. However, there was a limitation because I couldn’t delete files uploaded to a specific private channel and also files uploaded by a specific user without making code changes.</p><p>I looked at the Slack documentation (<a href="https://api.slack.com/methods/files.list">https://api.slack.com/methods/files.list</a>) which has the options of listing files associated with a channel or uploaded by a user. Hence, I decided to write a quick interactive python script which can be used to delete files on a more controlled basis.</p><p>GIT link: <a href="https://github.com/narayan8291/Expunger">https://github.com/narayan8291/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db197152f9ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>