Moodle Plugins directory: UNI Login | Moodle.org

UNI Login
Moodle UNI•Login authentication
Setup
- Place the plugin in the folder auth/unilogin
- You need codes and secrets for the webservice and application from UNI•C
Settings
Applikations & WS ID + secrets
You should get these from UNI•C when registering
Login type
You can log users on in two way - using Single Sign-On (SSO) or Single Log In (SLI). Using SSO users are automatically logged in, if they are already logged into another service with theirUNI•Login. Using SLI they must always enter their credential.
Validation strategy
When a user has authenticated to UNI•Login he is sent back to moodle with a ticket. In addition to checking that the ticket matches the secret from UNI•C, the ticket can be validated in two ways.
Either all tickets are saved in the database, to ensure that a ticket is only used once, or a check is made to ensure that the ticket has beeen issued with a certain timeframe (see below).
Validation windows
The maximal age, in seconds that a ticket can have in order for it to be considered as valid. The window should not be shorter than the time it takes to redirect the user's browser.
Login behaviour, text and selector
Login can work in two ways:
- Link will insert a link on moodle regular login page, using javascript
- Redirect will redirect the user as soon as they click login. This means users will only be able to login with uinlogin.
Lock user fields
Allows you to choose if the fields should be updated on creation or on each login, and if users should be allowed to update the fields themselves.
While reviewing the code, I spotted two issues that are quite simple to fix now, yet could cause much more troubles if we started to distribute the plugin now. I reported them as issues #1 and #2 in your bug tracker.
I'll be happy to approve this plugin once the reported issues are fixed and a new version is uploaded here.
I øjeblikket understøtter modulet kun simpel login og oprettelse af brugere, men jeg tænker at man, hvis der er efterspørgsel for det, relativt nemt kunne udvide til at tildele roller og tilmelde kurser afhængigt af de funktionsmarkeringer som returneres fra UNI C
Min ser sådan ud f.eks:
username,firstname,lastname,email,idnumber,deleted
dan123,Dan,Nielsen,somemail@somedomain.not,dan123,0
IDnumber er så unilogin navnet. Moodle importerer fint, men som sagt når brugeren logger ind,
spørger den hele tiden efter nyt kodeord, men sletter du manuelt den oprettede brugere og opretter manuelt,
så virker det fint med UNI-login.
Har du en idé, mangler jeg et felt i min CSV eller er det noget helt andet?