DanielZ1337 / ITSDU

Desktop application for interacting with itslearning
https://itsdu.danielz.dev/
MIT License
7 stars 2 forks source link

Request for help with .env file #5

Closed HiImKobeAnd closed 2 weeks ago

HiImKobeAnd commented 2 weeks ago

I'm trying to run the project with npm dev, but I dont know what the two .env keys are and where to find them. Could you provide comments in the example or explain how to find them in this issue?

The two keys in question: VITE_ITSLEARNING_STORE_KEY= VITE_ITSLEARNING_OAUTH_STATE=

DanielZ1337 commented 2 weeks ago

VITE_ITSLEARNING_STORE_KEY is used for encryption. VITE_ITSLEARNING_OAUTH_STATE is used for security purposes when sending the OAUTH login request.

Technically, both can be any value you want. One of the most common ways is: "openssl rand -base64 32".