-
Notifications
You must be signed in to change notification settings - Fork 1
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
Auth token expiry #3
Comments
If I remember correctly.. we don't know either. This token is provided by Magister if you were to log in using a browser, it changes every now and then. The fact that you don't know when it changes, and thus not knowing when to update the token is a bit annoying. There are three things you can do:
The first option is probably the only convenient if you are running |
Thanks so much for the reply. Currently I'm querying the url for the Auth code. works well :) was just curious as to expiry time. We are working on an old laravel 4, php 5.6 project that makes use of magister. The only difficulty in debugging issues is that there is no real documentation for anything that was done. The project has taken the web scraping approach and therefore makes it even more difficult. We would like to use a REST API where possible but cant seem to find any documentation. Any tips here? |
You could take a look at how If you go to your school's Magister and look at the network tab in your inspector (that's on Firefox at least, not sure what it's called on Chrome or other browsers) you can see the requests Magister makes to the API. You could also let the PHP/Laravel stuff maybe use |
Hey guys, cant seems to find the answer anywhere. Could you please tell me how long this token stays active for? How long before it expires?
The text was updated successfully, but these errors were encountered: