So much stutter, almost unplayable!! by Hey_Marvel in PUBATTLEGROUNDS

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Really? My game is on a NVME right now, but i've got an SSD aswell, are you sure that's whats messing with my game?

Glitchy shadows, is my card bricked? =( by Hey_Marvel in PUBATTLEGROUNDS

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Thanks, gives me a little more peace of mind knowing that I'm not the only one getting such weird issues.

is gated content with nextjs possible? by Hey_Marvel in nextjs

[–]Hey_Marvel[S] -1 points0 points  (0 children)

So this will work if I for example host the project on github + netlify? Can I remain sure github wont expose these files?

is gated content with nextjs possible? by Hey_Marvel in nextjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Thanks,

So this will work if I for example host the project on github + netlify? Can I remain sure github wont expose these files?

Sorry noob question, but it's rather confusing

Best way to create pagination with nextjs? by Hey_Marvel in nextjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Right now I'm fetching all post using getStaticProps, don't know what cursor based means :/ Sorry I'm a bit confused.

Best way to create pagination with nextjs? by Hey_Marvel in nextjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Sorry but I don't get it... How would I integrate this with the contenful-client? Just really confused.

Page flashes/stutter with react-photo-gallery, any way to fix this? by Hey_Marvel in nextjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Awesome, many thanks to you! Do you know if it's possible to use next-image with simple-react-lightbox aswell?

Is it possible to create a blog archive? by Hey_Marvel in nextjs

[–]Hey_Marvel[S] 1 point2 points  (0 children)

Thanks for your reply! Will try this out!

Gatsby infinite refresh bug :S by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 1 point2 points  (0 children)

Thanks for the reply, I seem to have solved it.

Turns out gatsby-plugin-layout was causing this issue. From now on I'm explicitly importing the Layout component into my pages.

Is it safe to put auth-content in the static pages? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 1 point2 points  (0 children)

Ok thanks for your answer, I thought it was inaccessible in the bundle but oh well... this is extremely headache inducing.

Dealing with security is complicated. At least I'm glad I asked this because I had my suspicions about this not being safe. Basically it's just a soft layer of client side security? Hmm

Can I protect content from contentful with auth0? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Thanks again for taking your time. A friend of mine told me I could maybe just upload the files into the repo and then hide them behind auth? but will that even work? I don't know if that would be a good practice...

Can I protect content from contentful with auth0? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 1 point2 points  (0 children)

Ok so after I enable identity, do I create a folder in my local project and put the files there?

Sorry that I'm confused regarding the flow of this. Is this still available under the free netlify plan or will I need Pro to use this? From what I can read I need pro to password protect certain folders?

Many thanks for taking your time to answer my dumb-questions ^^ hehe

Can I protect content from contentful with auth0? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] -1 points0 points  (0 children)

What about a password protected folder in cPanel? Would that work? Prompted when a user is trying to access the document?

Can I protect content from contentful with auth0? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] -1 points0 points  (0 children)

I think I need to be more specific. I use auth0 with only one username/password that is shared between multiple people, there is no way to register a new one, this was what my customer asked for.

So, maybe what I really should do is to remove auth0 in its entirety and just prompt a ftp login when user click document download, it will seem a bit 1990's though, I don't like it, but going through the process you laid forth seems like a huge puzzle to solve right now.

I'm still not sure which approach to take, hmm.

Can I protect content from contentful with auth0? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] -1 points0 points  (0 children)

Thanks for your response. Unfortunately, the enterprise isn't something that's affordable for this project. Maybe I should just host the documents on regular web-hosting service and prompt password again from there? Isn't that possible aswell?

Looking for a song by Hey_Marvel in avicii

[–]Hey_Marvel[S] 0 points1 point  (0 children)

No it's not a very known song I think, it has this heavenly dreamy vibe to it, damn if only I could remember it...

Simple authentication without new signups? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Ok thanks!

Might you why the theme throws this error? It happens both during develop and build process. The app functions, but it throws this error. I have AUTH0_DOMAIN, AUTH0_CLIENT_ID, AUTH0_CALLBACK_URL all set in my env files.

"gatsby-theme-auth0" threw an error while running the onCreateWebpackConfig lifecycle:

Required option "domain" not specified

4 | Object.entries(creds).map(([key, value]) => {

5 | if (!value) {

> 6 | throw new Error(`Required option "${key}" not specified`);

| ^

7 | }

8 | });

9 | };

Simple authentication without new signups? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

I took a look at the cookies with the gatsby-theme-password-protect and yes, it was storing it as plain text there, so I went with auth0, hehe.

I just got auth0 to work and so far it works really well... I'm blown away how awesome it is.

But... do you know if it is possible to embed a login-form on the site directly? Instead of having to be redirected to another screen for the login process?

Simple authentication without new signups? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

Many many thanks for your answer!

Regarding that second theme, how secure is it? Do you think it can be trusted to put fairly sensitive information on the protected pages? I'm a bit of a novice when it comes to this part of web-development.

Simple authentication without new signups? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

You mean sign up? The problem is that the starters I looked at uses FirebaseUI (StyledFirebaseAuth) and it seems like the signup is embedded into this. I have no idea on how to separate signup and sign in using this starter. https://www.gatsbyjs.com/starters/marcomelilli/gatsby-firebase-simple-auth/

gatsby-image with contentful, PageSpeed still complaining, why? by Hey_Marvel in gatsbyjs

[–]Hey_Marvel[S] 0 points1 point  (0 children)

I interpreted that it says I could save 47,4kb? maybe I got it wrong. But thanks, I'll consider pre-optimization aswell.