znorris

znorris

KratosPlug

https://github.com/ScoreVision/kratos_plug

KratosPlug is a composable library for extracting session identifiers from the request, and exchanging them for a kratos session. KratosPlug also provides functions like KratosPlug.session_valid?/1 for working with sessions. This is not an official Ory Corp project.

hex.pm: kratos_plug | Hex
hexdocs.pm: kratos_plug v0.1.0 — Documentation

Library state

I’ve only done some initial integration testing. I plan to tag a 1.0.0 release when I feel the library has been properly tested and is ready for production use.

Why?

I need to migrate backend services written in elixir from Auth0 to Ory Kratos and I didn’t see any libraries that fit this need.

What is Kratos?

Ory Kratos is the developer-friendly, security-hardened and battle-tested Identity, User Management and Authentication system for the Cloud. Finally, it is no longer necessary to implement User Login for the umpteenth time!

https://github.com/ory/kratos

Contributors

I’m writing this library for work but we’re open sourcing with an MIT license. It’s my first elixir library and all feedback is welcome. I’m hoping to make something useful to anyone integrating with Ory Kratos. Bug reports, comments here, code reviews for already commited code (pre-1.0.0), send it all.

Showing Posts 1 to 2

wtcross

wtcross

Thank you for open sourcing this! I’m going to be using it in a new project and will contribute where it makes sense. I’m also going to be implementing the Ory Kratos self-service flows using LiveViews. Once I get it working maybe it’ll make sense to add some of those plugs to this repo?

znorris

znorris OP

LiveViews would be a wonderful addition to the library! Let me know if I can be of any help along the way.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
ahamez
Hi everyone, I’ve been working on this protobuf library for 3 years. We use it in the company I work for, EasyMile, to communicate with ...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews