rudens

rudens

Authentication in LiveView Native

Hello!

I am quite a beginner using LiveView Native and I am building a LiveView Native project for music event planning and I am a bit lost about the user authentication process for IOS platform. I have used the phx.gen.auth for LiveView and I understand how it works in the browser version, but not quite on IOS. is there any LiveView Native documentation or examples available for handling user authentication? Maybe someone could point me in the right direction… :slight_smile:, any help would be greatly appreciated :slight_smile:

First Post!

codeanpeace

codeanpeace

Welcome!

So the authentication itself should work the same regardless of the client – it’s more about extending the existing auth related LiveViews e.g. LoginLive, RegistrationLive added by mix phx.gen.auth to support rendering for native app clients via render/2 in addition to browser clients via render/1.

You’ll want to read up on how Forms work in LiveView Native and here’s a good place to start:

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44167 214
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement