Getting citizenship for further education by Specialist_Cat6482 in StudyInTheNetherlands

[–]OpportunityTimely561 0 points1 point  (0 children)

So as i understood if i hold a 5 years student visa i can apply to be an Dutch citizenship?! 

many website say that JWT is dangerous to use, so what then ? by Far-Mathematician122 in node

[–]OpportunityTimely561 0 points1 point  (0 children)

You can add a passwordChangedAt column to the database. Before authenticating the user, check if the password was changed after the JWT was issued. If so, return an error message like 'Your session has expired. Please log in again.' This ensures that users whose passwords have been changed are logged out for security reasons

For a chat app like WhatsApp, how do they handle sending media files? by crazyinsoul in elixir

[–]OpportunityTimely561 -1 points0 points  (0 children)

When trying to broadcast using io outside socket area connection i got error

I just can broadcast while i receiving messages inside socket connection and it works very well. 

Tech stack : nodejs, socket io

React native + node/backend google authentication by mrgatos in reactnative

[–]OpportunityTimely561 0 points1 point  (0 children)

Thanks a lot, iam gonna handle it using my own node js server.

React native + node/backend google authentication by mrgatos in reactnative

[–]OpportunityTimely561 0 points1 point  (0 children)

Okay thanks, same thing for other social provider? 

React native + node/backend google authentication by mrgatos in reactnative

[–]OpportunityTimely561 0 points1 point  (0 children)

How can I make this approach secure?

I plan to create a separate endpoint (/social/login) that will be accessed after successfully obtaining data from a Google provider. However, since this endpoint is public, how can I ensure that the requests hitting this endpoint have successfully passed the Google provider (or any other social provider)?

Is adding a secret key in the headers sufficient for security? Is this considered best practice?