I've been assigned a project that I have to finish for the end of the scholar year, and I have to create a mobile app that other students of my Uni could use.
I'm using flutter and Firebase to create the app, but I have to check if the user is a member of the university. To do so he has to enter his university credentials into my application.
This would mean I have to fetch an authentification token from the university website and then pass it to Firebase to access the application's data right? If so, how can I sign in Firebase using a custom token? I've seen examples but they all create a custom token themselves first (instead of fetching it from a website)
Link from what I found for the custom token: ( https://firebase.google.com/docs/auth/admin/create-custom-tokens#:~:text=Firebase%20gives%20you%20complete%20control,via%20the%20signInWithCustomToken()%20method.)