Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client_id #437

Open
signaltech opened this issue Dec 7, 2023 · 11 comments
Open

client_id #437

signaltech opened this issue Dec 7, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@signaltech
Copy link

signaltech commented Dec 7, 2023

successfully deployed the server

on local PC client_id is generated after login
but when deployed on VPS the client_id is empty plus modified settings don't seem to be saved

@signaltech signaltech added the bug Something isn't working label Dec 7, 2023
@lakhansamani
Copy link
Contributor

lakhansamani commented Dec 7, 2023

Are you trying to use it via IP address?
If so HTTPS cookies are not allowed, hence we recommend using it with domain

@signaltech
Copy link
Author

both with IP and with domain pointing to the IP

@signaltech
Copy link
Author

@lakhansamani any solution?

@lakhansamani
Copy link
Contributor

While accessing the app in browser pls use domain that will help

@signaltech
Copy link
Author

@lakhansamani Yeah I am using domain is there a HTTPS requirement(using domain but no SSL installed in the server so just HTTP)

@lakhansamani
Copy link
Contributor

HTTP should be fine however do u see errors in network request. Somehow it is not allowed to set cookies and that is creating problems

@signaltech
Copy link
Author

@lakhansamani in the inspection console there is this error

Environment-Q72GB73P.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading '_env')
at Environment-Q72GB73P.js:1:33481
at Generator.next ()
at a (chunk-I2F2WLKQ.js:1:1222)

@lakhansamani
Copy link
Contributor

@signaltech can you try the latest version
Thanks

@signaltech
Copy link
Author

@lakhansamani sorry I didn't respond. today I pulled the new changes and clean build but the error remains.
thank you

@signaltech
Copy link
Author

upon testing on firefox here is the console output(not shown in chrome)

users
Some cookies are misusing the recommended “SameSite“ attribute 2
Cookie “authorizer-admin” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite graphql
Cookie “authorizer-admin” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite graphql
Cookie “authorizer-admin” has been rejected because a non-HTTPS cookie can’t be set as “secure”. graphql
Cookie “authorizer-admin” has been rejected because a non-HTTPS cookie can’t be set as “secure”.

@signaltech
Copy link
Author

install SSL certificate now it is working with HTTPS. thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants