<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on RedDec</title><link>https://blog.reddec.net/tags/python/</link><description>Recent content in Python on RedDec</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 03 Apr 2024 09:37:07 +0800</lastBuildDate><atom:link href="https://blog.reddec.net/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Oauth Token via CLI</title><link>https://blog.reddec.net/posts/oauth-token-via-cli/</link><pubDate>Wed, 03 Apr 2024 09:37:07 +0800</pubDate><guid>https://blog.reddec.net/posts/oauth-token-via-cli/</guid><description>&lt;p&gt;In today&amp;rsquo;s world of distributed systems and microservices, security has
become more critical than ever. One common approach to securing these
systems is through the use of OpenID Connect (OIDC), an identity layer
built on top of the OAuth 2.0 protocol. However, integrating OIDC into
command-line interface (CLI) applications can be challenging due to the complexity of OIDC flows.&lt;/p&gt;
&lt;p&gt;In this short article there is a use-case of using &lt;a href="https://github.com/cloudentity/oauth2c"&gt;oauth2c&lt;/a&gt; to obtain token via CLI.
Keycloak is used as primary refernce of IDP, but any other OIDC complient solutions should work in the same way.&lt;/p&gt;</description></item><item><title>Binp</title><link>https://blog.reddec.net/posts/binp/</link><pubDate>Mon, 08 Feb 2021 23:23:40 +0800</pubDate><guid>https://blog.reddec.net/posts/binp/</guid><description>&lt;p&gt;&lt;img loading="lazy" src="https://blog.reddec.net/img/binp.png"&gt;&lt;/p&gt;
&lt;div&gt;
&lt;a a href="https://github.com/reddec/binp" target="_blank"&gt;
&amp;nbsp;&amp;nbsp;reddec/binp
&lt;/a&gt;
&lt;/div&gt;
&lt;p&gt;Provides a platform for automation with code-first approach, with embedded batteries:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tracing (journals)&lt;/li&gt;
&lt;li&gt;Internal and user-defined API&lt;/li&gt;
&lt;li&gt;Ultra-light but rich mobile-first UI&lt;/li&gt;
&lt;li&gt;Embedded key-value storage&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>