<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Authentication on</title><link>/tags/authentication/</link><description>Recent content in Authentication on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 10 Jul 2024 00:00:00 +0000</lastBuildDate><atom:link href="/tags/authentication/index.xml" rel="self" type="application/rss+xml"/><item><title>Running Dex With Docker Compose</title><link>/2024/07/running-dex-with-docker-compose/</link><pubDate>Wed, 10 Jul 2024 00:00:00 +0000</pubDate><guid>/2024/07/running-dex-with-docker-compose/</guid><description>&lt;p>I previously wrote on how to run Dex using docker. In this article, I will create nearly the same setup using docker-compose. This will allow you to run, stop, and restart the setup from a central location.&lt;/p>
&lt;!-- more -->
&lt;h2 id="setting-up-the-docker-compose-file">Setting up the docker-compose file&lt;/h2>
&lt;p>You&amp;rsquo;ll want to make sure that you have the same Dex config file from the previous article but with one small change. The &lt;code>issuer&lt;/code> field should be changed to &lt;code>http://dex:5556/dex&lt;/code> to match the service name that will be used in the docker-compose file. If the &lt;code>issuer&lt;/code> field is not changed, the example app will try to find Dex within the container it is running in and will not be able to reach it. Changing it to &lt;code>http://dex:5556/dex&lt;/code> will allow the example app to reach Dex through the network that docker-compose creates.&lt;/p></description></item><item><title>Running Dex with Docker</title><link>/2024/07/running-dex-with-docker/</link><pubDate>Fri, 05 Jul 2024 00:00:00 +0000</pubDate><guid>/2024/07/running-dex-with-docker/</guid><description>&lt;p>Dex is a tool created to make setting up and managing authentication methods easy. It is a single sign-on and identity management tool that can be used to authenticate users against a variety of backends. It is a great tool to use when you want to add authentication to your application without having to worry about managing the users yourself but still gives you the option if you want to. This post will show you how to run Dex locally to decide if it is the right tool for you. This does not cover how to integrate Dex into your application or integration with other authentication providers but I will cover that in a future article.&lt;/p></description></item><item><title>Using Goth in Gin</title><link>/2019/07/using-goth-in-gin/</link><pubDate>Thu, 18 Jul 2019 00:00:00 +0000</pubDate><guid>/2019/07/using-goth-in-gin/</guid><description>&lt;p>After learning about the new Go language, I immediately wanted to try creating something with it. I started a web app and learned about the Gin framework. While the router in the Go standard library is nice, Gin adds a few nice to haves and as well as a performance boost.&lt;/p>
&lt;p>When I started adding a user system to the app, I knew I wanted users to be able to sign in with OAuth. The process is too convenient from a user’s perspective not to. I found the Goth library which makes using OAuth very easy and supports a very large number of providers.&lt;/p></description></item></channel></rss>