Sign in with Microsoft Integration with PHP

Sign in with Microsoft Integration with PHP

myPHPnotes

3 года назад

31,873 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sercan_arga
@sercan_arga - 15.02.2021 02:32

You have to improve your writing style.

Ответить
@youthtech3388
@youthtech3388 - 25.02.2021 13:42

Excellent. I have one question now. Can you tell me how to implement the logout function? Looking forward to hearing from you. Thanks.

Ответить
@priyankascorner5246
@priyankascorner5246 - 20.05.2021 14:12

Hello sir,
use myPHPnotes\Microsoft\Auth me mera error aa raha he. Wo Kyun? Please explain mai kya use karu udhar

Ответить
@abbasitmemon1728
@abbasitmemon1728 - 02.06.2021 22:18

is there any way to create an azure account without a credit card?

Ответить
@bitpickle
@bitpickle - 16.06.2021 06:32

Excellent, thank you, it saved my project <3

is there any way to get the profile picture?

Ответить
@rishidusad2985
@rishidusad2985 - 20.07.2021 21:31

AADSTS500201: We are unable to issue tokens from this API version for a Microsoft account. Please contact the application vendor as they need to use version 2.0 of the protocol to support this.

I am getting this error, any help?

Ответить
@rishidusad2985
@rishidusad2985 - 20.07.2021 22:19

Fatal error: Uncaught Exception: State parameter does not matched. in C:\xampp\htdocs\ms\vendor\adnanhussainturki\microsoft-api-php\src\Auth.php:86 Stack trace: #0 C:\xampp\htdocs\ms\callback.php(8): myPHPnotes\Microsoft\Auth->getToken('M.R3_BAY.37cf4e...', '117584') #1 {main} thrown in C:\xampp\htdocs\ms\vendor\adnanhussainturki\microsoft-api-php\src\Auth.php on line 86


getting this error! how to solve it?

Ответить
@darshansingh1419
@darshansingh1419 - 05.08.2021 11:11

error de rha hai

Fatal error: Uncaught Exception: State parameter does not matched. in C:\xampp\htdocs\Project\php\login_with_office\vendor\adnanhussainturki\microsoft-api-php\src\Auth.php:86 Stack trace: #0 C:\xampp\htdocs\Project\php\login_with_office\index.php(9): myPHPnotes\Microsoft\Auth->getToken('M.R3_BAY.50f777...', '35857') #1 {main} thrown in C:\xampp\htdocs\Project\php\login_with_office\vendor\adnanhussainturki\microsoft-api-php\src\Auth.php on line 86

Ответить
@md.jamiluddin3295
@md.jamiluddin3295 - 27.09.2021 23:11

Great! Please tell me; how to implement the logout function? Looking forward to hearing from you. Thanks.

Ответить
@diki578
@diki578 - 06.10.2021 11:59

If i register APP, i must pay extra¿

Ответить
@tienattr8227
@tienattr8227 - 17.10.2021 18:35

hi sir. Is this working in Laravel ?

Ответить
@fanwen1064
@fanwen1064 - 22.10.2021 09:31

This is excellent!!!! Any chance we can get the user's profile picture and something like an unique ID (other than the email)?

Ответить
@agussalimfkip
@agussalimfkip - 28.11.2021 18:21

I have eror == Fatal error: Uncaught Error: Call to undefined method myPHPnotes\Microsoft\Auth::getAuth() in C:\host_php7\htdocs\signinwithmicrosoft\signin.php:16 Stack trace: #0 {main} thrown in C:\host_php7\htdocs\signinwithmicrosoft\signin.php on line 16

Ответить
@bsungur
@bsungur - 12.03.2022 02:54

thanx, I'm facing the error : Warning: Undefined array key "code" in /Applications/MAMP/htdocs/test/callback.php on line 13

Ответить
@ea4gkq-angel764
@ea4gkq-angel764 - 08.06.2022 14:50

Working!! thanks for your work!

Ответить
@flamberkruds7912
@flamberkruds7912 - 30.06.2022 08:07

Thanks for the video, I finally figured out why it didn't work for me!

Ответить
@frankstiftyngayanarico8826
@frankstiftyngayanarico8826 - 18.07.2022 20:39

Fatal error: Uncaught Exception: State parameter does not matched. in D:\stipro\logins_auth\microsoft\vendor\adnanhussainturki\microsoft-api-php\src\Auth.php:86 Stack trace: #0 D:\stipro\logins_auth\microsoft\index.php(10): myPHPnotes\Microsoft\Auth->getToken('M.R3_SN1.24fe19...', '85892') #1 {main} thrown in D:\stipro\logins_auth\microsoft\vendor\adnanhussainturki\microsoft-api-php\src\Auth.php on line 86

I am getting this error, any help?

Ответить
@frankstiftyngayanarico8826
@frankstiftyngayanarico8826 - 19.07.2022 01:28

iif I want to disconnect?

Ответить
@miranham_neo
@miranham_neo - 30.07.2022 16:58

Isn't there a way to use the Microsoft Graph API beta?
I'm trying to get a User's employee ID.

Ответить
@CristianVG
@CristianVG - 28.08.2022 07:36

Uncaught Exception: State parameter does not matched. :/

Ответить
@michaelmcguk
@michaelmcguk - 13.09.2022 08:30

I have to echo the comments - fantastic tutorial but would be curious how you implement Logout. Any help there? :-)

Ответить
@antidote2813
@antidote2813 - 16.12.2022 02:39

Can you text me on telegram or icq
I want paid service !

Ответить
@sKasubek
@sKasubek - 23.05.2023 09:33

How can I refresh the token? Because every now and then I get thrown out and a white page comes up. If I then delete cookies and reload them, it works again.

Ответить
@gilbertoosorio2078
@gilbertoosorio2078 - 26.06.2023 23:48

Hi, thanks for your help and patience, I have been able to log in but not log out, despite running session_destroy(), it is still active, how can I log out of Office 365?

Ответить
@jayaatkakkar2701
@jayaatkakkar2701 - 06.11.2023 11:40

if i use this source code of yours i got an error regarding class not found for i kept my three of the files outside vendor

Ответить
@desarrolladorcii5091
@desarrolladorcii5091 - 25.01.2024 18:43

Hello, thank you very much for sharing knowledge.
Thank you

Ответить
@tsukasadt
@tsukasadt - 15.04.2024 20:30

So, I got the SSO to work (thank you, it's fantastic), however, and I may just be being stupid, I can't seem to get it to retain URL parameters after the authentication. Is it possible to have it retain `?page=x&cat=y` URL parameters?

Edit (~20 minutes later): Figured out a "workaround" to make it work. I copied the `$_GET` array to `$_SESSION['GET']` before doing the authentication and then recalled it after the authentication for use. This wouldn't work for `$_POST`, but I have no intention of supporting `$_POST` recovery during login.

Ответить
@hbx380
@hbx380 - 11.10.2024 00:56

Merci beaucoup pour ta vidéo, franchement j'ai lu tout les trucs de microsoft impossible de savoir quoi faire, leur doc est vraiment mal foutu grâce à toi j'ai pu réussir à faire la connexion.

Ответить