petecorey
Basic Meteor Authentication in Phoenix
Hey all,
I’m coming (most recently) from a Meteor background. This means that much of my current interest around Elixir and Phoenix come from exploring how I can integrate them with existing Meteor applications.
I recently wrote up an article on basic integration with Meteor’s Accounts system to do Meteor-style authentication in a Phoenix application. It’s definitely very simple and feature-poor at the moment, but I think it’s a good diving off point for anyone looking to do this kind of thing.
Hopefully this helps some former (or current) Meteor developers out there, or any Elixir developers looking to work with MongoDB.
Most Liked Responses
Morganjackson
@petecorey another awesome post!
Have you looked into shared login between a phoenix and Meteor application? i.e user logs into Meteor application which persists when navigating to the Phoenix application?
Mandemus
Iirc SkinnyGeek1001 in the above thread has a few example projects with Meteor and Phoenix integration.
petecorey
No more insecure than any other stack. It just uses a pub/sub model to push data to the client instead of explicitly fetching it. The client-side “Minimongo” is just a glorified client-side cache.
Popular in Discussions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








