You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @phartenfeller
How to put Google Authentication for Foam Gatsby?
Expected:
When User access index page of Foam
It will display popup Google Login (Admin will config which user have approved to see the data)
At 2) will have 2 cases
Case 1: All pages are not available for guests, Login is required to browse the pages.
Case 2: Public pages will be available for guest, hidden pages will require Login
Currently, have any quick walkthrough to deploy Case 1?
Best regards,
The text was updated successfully, but these errors were encountered:
Because this is currently on Gatsby 3, it just generates static html for all the pages. So this is something you could achieve on your webserver or proxy, where the pages are served.
I use authelia in front of my webserver to require login to see any pages. If you want I can share my setup, but it is very specific to my stack(Traefik with docker-compose). Page based authentication and authorization could be tricky.
Gatsby 4 introduced server-side rendering. With that it should be possible, but I currently don't have the time to look into it. Gatsby 4 does also not feel ready yet for me because some plugins are not upgraded yet.
Hi @phartenfeller
How to put Google Authentication for Foam Gatsby?
Expected:
At 2) will have 2 cases
Case 1: All pages are not available for guests, Login is required to browse the pages.
Case 2: Public pages will be available for guest, hidden pages will require Login
Currently, have any quick walkthrough to deploy Case 1?
Best regards,
The text was updated successfully, but these errors were encountered: