A demo of using React and Firebase Authentication to authenicate KU Microsoft Account (@live.ku.th) and retrieve some personal information such as Nontri account username, university role.
You can find KU Google sign-in demo (@ku.th) here.
The demo is for Kasetsart University (@live.ku.th) domain
The G suite domain of Kasetsart University (@ku.th) does not contain information about a student ID or role (student/personnel), so you can use this method to get that information.