ory / examples

A curated collection of examples and solutions created and maintained by the Ory Community.
https://www.ory.sh/community/
Apache License 2.0
140 stars 67 forks source link

feat: Elixir Phoenix example #74

Open tobbbles opened 1 year ago

tobbbles commented 1 year ago

Create a basic example for Ory Network implemented with Phoenix Framework, implementing basic user flows.

Highlights how to use the ory_client Elixir package from https://github.com/ory/sdk and implement it in a simple web application.

Related Issue or Design Document

Checklist

Further comments

This example is definitely not a fully fledged implementation, and is (currently) missing the following:

I am also debating on whether to take my current UI Node implementation and break this out into it's own package; for others to use to easily implement forms in Phoenix, similar to the https://github.com/ory/elements component library.

tobbbles commented 1 year ago

Update: v7.0.0 of the openapi-generator got released with a breaking change to the Elixir client by moving to a better serialization library. I'll wait until the SDK is updated with that, and then re-jig the example

CLAassistant commented 10 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Toby Archer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

tobbbles commented 9 months ago

Update: v7.0.0 of the openapi-generator got released with a breaking change to the Elixir client by moving to a better serialization library. I'll wait until the SDK is updated with that, and then re-jig the example

Upstream SDK PR is opened - https://github.com/ory/sdk/pull/315