- User Authentication
With effect from July 2019, LumiNUS API will not provide authentication service. It is connection NUS ADFS server via ADFS Authorization code flow. If you just need authentication service, please approach NUS IT for such request. If you need to use other LumiNUS APIs besides the authentication, you can go to nTouch (https://ntouch.nus.edu.sg/ux/myitapp/#/catalog/category?type=SRM&id=IDGAA5V0FAKXWAQI272ZQH49CHRSU9&providerSourceName=srm), then click on AppID for ADFS OAuth Client Integration to submit your request.
Here are some of the useful information
- AD FS Scenarios for Developers: https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/overview/ad-fs-openid-connect-oauth-flows-scenariosscenarios#authorization-code-grant-flow
- Official site for OAuth 2.0: https://oauth.net/2/.
- Useful tutorial here:
If you simply need the login component for your application, please approach the staff who is fronting this project. The staff will then contact Messaging Admins team on this.
You are interested in the below API. On top of the the indicated request parameters required by the API, there are required request header (subscription key) for calling the API.
If the API's response is "", it means that the Bearer is needed for the Authorization Headers.
Below is an example of code sample in different languages. Include the authorization header (Bearer) if needed.