Nuxt Auth Crash Course #4 - Sign in and Sign out

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • In this lesson, we'll implement Nuxt Auth's useSession composable, allowing us to sign in and out.
    💻 Follow Along:
    - Repo: github.com/Cod...
    💻 Nuxt Auth:
    - Docs: sidebase.io/nu...
    - Repo: github.com/sid...
    🐦 My Network:
    - Twitter: / codybontecou
    - Blog: codybontecou.com/

Комментарии • 13

  • @jajoa4064
    @jajoa4064 Год назад +4

    For anyone having trouble with setting this up (useSession for example) note that the version used is 0.4.4 instead of 0.5.0 (latest stable version) or 0.6.* which is in beta.

  • @BogdanFuerea
    @BogdanFuerea Год назад +1

    I've been struggling to focus and choose one method of auth for nuxt3 out of the three major variants online. Only now, after I've watched and rewatched your clips a few times, I notice you don't have that many subscribers and not that many likes. Wonder why though? My research is telling me that your method is the best one as future-proof, and yet you're so underestimated. I'll try to focus until the last chapter and provide some correct feedback when I implement it on my own project. Cheers!

  • @richcoleman4244
    @richcoleman4244 Год назад +2

    0:20 is this still called useSession() or is this useAuth() now?

    • @richcoleman4244
      @richcoleman4244 Год назад +1

      hahaha damn - first thing you mention on the next video! lol

  • @mikhalpalych
    @mikhalpalych Год назад

    I have some trouble with using github oauth. When i'm clicking the "sign in with github" button it redirects me onto 404 github page. Does anyone know what could be the problem? (Previously i have installed preceding next-auth version like someone suggested in some nuxt-auth github issue(app was just crashing although i didn't do anything else that wasn't in "quick start" section of nuxt-auth docs))

    • @mikhalpalych
      @mikhalpalych Год назад

      Oh, i'm just retarded, i have accidentally prepended clientId with a space character

  • @MrIqbalTawakkal
    @MrIqbalTawakkal Год назад

    from what i understand here, sidebase create the login page based on providers, but can't really see the file for that page, i mean how do we customize it?

    • @codybontecou
      @codybontecou  Год назад +1

      Hey! Good question. I believe the 6th video in this series is what you’re looking for.

  • @amcheachamroeun2716
    @amcheachamroeun2716 Год назад

    why I cannot use useSession()