# Password Authentication/Authorization for Clojure

DevFeed: [Password Authentication/Authorization for Clojure](<https://devfeed.tech/articles/password-authentication-authorization-for-clojure-32097.md>)

Original publisher: [Read original article](<https://adambard.com/blog/buddy-password-auth-example/>)

Published: 2015-12-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Bard](<https://devfeed.tech/sources/adam-bard.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [database](<https://devfeed.tech/tags/database.md>), [hashing](<https://devfeed.tech/tags/hashing.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [password](<https://devfeed.tech/tags/password.md>)

## AI overview

A tutorial showing how to add session-based password authentication to a Clojure application using the Buddy authentication library. It uses an in-memory store for user data and demonstrates password hashing, login, logout, and middleware-related session handling.

## Source excerpt

In my previous post, I gave a quick overview of how the Buddy auth library for Clojure. Today, I'll give a more fleshed-out example of how to use it to add session-based password authentication to an app.