magister-api / magister

An eloquent API for Schoolmaster BV's Magister 6.
MIT License
47 stars 16 forks source link

API key #58

Open Stanvk opened 6 years ago

Stanvk commented 6 years ago

Unfortunately Schoolmaster BV has decided to authorise all incoming API requests. That does not mean that this API does not work anymore. It does mean however that you need an API key in order to get access to the data.

I will take a look at this. I guess it will be necessary to have an API key now, so probably there will be an option to feed your magister API key and gain access again.

ItsMeRomian commented 6 years ago

I really hope they make api-keys publicly Accessible. A lot of handy apps are made for magister that dont work anymore now.

What i saw is that Labda, a ios application for viewing magister agenda and grades, still works. Maybe they got a api-key from magister?

gruijter commented 6 years ago

see also this old issue: https://github.com/simplyGits/MagisterJS/issues/73

and this information; https://www.magister.nl/nog-veiliger-inloggen-in-magister/

lieuwex commented 6 years ago

I mean, if it's possible to use the site from a browser (just using javascript) it shouldn't be too hard to get the API key one way or another, right?

Stanvk commented 5 years ago

Our package already has the option to provide an API key. I tested the package and authentication seems to work fine for Magister version v6.1.29.

However, Magister did change it's authentication procedure which may have implications for our package. I guess that could trigger the "API Key Invalid" response.

Does anyone get the "API Key Invalid" response for any Magister version after v6.1.11?