-
Notifications
You must be signed in to change notification settings - Fork 7
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
fetch email and phone number on authentication #8
Conversation
@aditeyabaral @Icarus131 please lmk if there are any changes, thanks! |
@silicoflare If you are looking to develop apps with the backend APIs where there is a focus on reading details from the website, I would suggest contributing to this: https://github.com/aditeyabaral/pesu-academy-api |
You also need to update the README with the new data you are returning. |
So here's the thing: in pesu-tix, when the user signs in using PESU Auth, I want to fetch all these details and store it in a database, so that when the student registers for the event, all those details will be added to the event database record, which cuts the need of the user to fill any additional forms. |
Yes will do, thanks! |
Alright, but no more fields will be added (note to future PR raisers). Please address the requested changes and push a commit. |
@aditeyabaral i've made the requested changes, please do check! |
Along with the usual details being fetched, the API now fetches and returns the email address and phone number of the student. This feature will be useful in the apps we plan to build in the future.