Hacker News new | ask | show | jobs
by Whiteshadow12 1139 days ago
Any solutions for Elixir and Phoenix, we currently have component and live view is leveling up quite nicely to be able to isolate the auth from the DB/App.
2 comments

This is one example where OIDC support would be great. Elixir has a library with OIDC support: https://hexdocs.pm/openid_connect/readme.html
We don't have SDKs for these yet, but you can always spin up a node process with our node SDK and use that as the auth server for your Elixir app. The node process would create a session and issue JWTs to the frontend which can be sent to the Elixir backend for API auth.