AdnanHussainTurki / microsoft-api-php

Microsoft Graph API Wrapper for PHP
25 stars 6 forks source link

Feature Request:able to pass additional parameters. #6

Open Abdulazeezvp opened 1 year ago

Abdulazeezvp commented 1 year ago

I'm not sure if this library has this feature; if it does, please ignore this. This one is making a very conventional api request with the default functionality, so it would be nice if we could also include custom api params while generating the auth url; I can contribute to this.I got this when there was a requirement for a prompt login argument with the request, as shown in the link below.This can be solved simply adding a optional array parameter to generate auth url function.

https://stackoverflow.com/questions/75209084/signle-sign-on-microsoft-365-not-asking-to-pick-an-account#:~:text=SSO%20allows%20users%20to%20authenticate,user%20to%20pick%20an%20account

AdnanHussainTurki commented 1 year ago

Sounds great, @Abdulazeezvp

Feel free to contribute. Share any issue if yo need as assistance.