Social logins in SolidStart with Single Sign-On (SSO)

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

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

  • @paxeealex
    @paxeealex 6 дней назад

    Thank you Atila!!!

  • @haonus
    @haonus 2 месяца назад

    awesome. I used to create auth with supabase. This video shows a new way to authenticate in an easier method. Thanks. I wish next video could be showed stream application such as chatGPT-like app based on solidstart. What's more, use case of deno deploy KV in solidjs is another course that I am looking forward to learning.
    thanks again.

  • @zobweyt
    @zobweyt 2 месяца назад

    Hey! Thanks for the video! Which icon pack are you using in your VSCode? It looks amazing!

  • @76Freeman
    @76Freeman Месяц назад +1

    Thank you very much for this video, very informative. I was looking at the code in `lib/authOptions` and in in some places you use `process.env` and in others you use `import.meta.env`. Is there any difference between the two? Do you use `process.env` for server side and `import.meta.env` for client side?

    • @AtilaDotIO
      @AtilaDotIO  Месяц назад

      Yes. Because of how the bundle is split between server-side code and client-side code.
      in a nutshell `import.meta.env` is client-side, and `process.env` is server-side.
      So if a variable doesn't have VITE_ it will never be exposed to client and you can't see it with `import.meta.env`
      here's the link to the docs: docs.solidjs.com/configuration/environment-variables