Skip to content

Authentication - Authorisation #223

Open
@ndrean

Description

@ndrean

Does someone has a clear view of what to do, best practice? Or am I throwing a bottle in the ocean...

The ocean is: Passwords, magic link, OPT, Authenticator, Passkey, OAuth, third-party......

  • for an API, for Liveview, for Phoenix, for channels
  • usingJWT/Oauth/Authenticator/OTP./Passkey (for the devices that can use it..... )???

In particular, I understand the Phoenix generates a session token when a user connects. This token is accessible "on mount" (the HTTP call) by the LiveView and put into the socket


[Screenshot 2024-12-20 at 15 45 05](https://hexdocs.pm/phoenix/mix_phx_gen_auth.html)

There is also 2FA using an authenticator.


Screenshot 2024-12-20 at 15 46 55


And U2F


Screenshot 2024-12-20 at 15 48 54


A comparison between One Time Password and U2F: (same wiki source as above


Screenshot 2024-12-20 at 15 49 38


I saw an "old" post of this:

Screenshot 2024-12-20 at 15 50 41


What about OAthu? Christian Alexander is one of my favorite guy on YT.


Screenshot 2024-12-20 at 15 52 38


Passkey with SimpleWebAuthn
Screenshot 2024-12-20 at 16 40 23


or the WIP:
Screenshot 2024-12-20 at 16 43 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions