izimio / Epitech-Calendar-Sync

0 stars 0 forks source link

Intranet authentication #1

Closed edecadt closed 9 months ago

edecadt commented 9 months ago

Does authentication with the intranet still work? Because it works with Microsoft now

izimio commented 9 months ago

As my last knowledge, the script worked successfully last night, so this method worked at least until yesterday ! I'll check it more in the next days

edecadt commented 9 months ago

Strange because the Epitech intranet has required authentication with Microsoft for a while. To tell the truth, I'm looking for a way to authenticate with the intranet API to be able to develop applications but so far I haven't found a very optimal solution because the cookie expires regularly (which is logical) and I cannot reproduce the authentication with Microsoft because there is a double authentication that I cannot automate

izimio commented 9 months ago

Epitech has blocked the conventional login method that utilizes individual Epitech accounts.

A workaround we discovered involves using the parental account. The referent's account possesses equivalent read rights to your own. If you need to modify information, it is advisable to employ Selenium on a server to automatically connect and scrape the JWT.

edecadt commented 9 months ago

Okay thank you for your answer.