Sign in with Microsoft Integration with PHP

  Рет қаралды 31,078

myPHPnotes

myPHPnotes

Күн бұрын

Source Code
==========
www.myphpnotes...
Support Us
=========
www.myphpnotes...
Follow us
========
Twitter: / myphpnotes
Instagram: / myphpnotes
Facebook: / learningwithexperts
Request Tutorial
===================
www.myphpnotes...
Paid Projects
==================
www.myphpnotes...
Learn more about Composer:
========================
• Composer Explained
Learn more about Virtualhosts:
=========================
• Virtual Hosts Explained
Author
======
Adnan Hussain Turki
Facebook: / myphpnotes
Twitter: / adnanturki
Email: adnan@myphpnotes.com
Music Credits
===========
Boss Beats - Drake
• Video
Brought to you by:
www.myphpnotes.com

Пікірлер: 40
@youthtech3388
@youthtech3388 3 жыл бұрын
Excellent. I have one question now. Can you tell me how to implement the logout function? Looking forward to hearing from you. Thanks.
@e28shadow
@e28shadow Жыл бұрын
You can always logout by destroying a session e.g. :
@desarrolladorcii5091
@desarrolladorcii5091 7 ай бұрын
Hello, thank you very much for sharing knowledge. Thank you
@md.jamiluddin3295
@md.jamiluddin3295 3 жыл бұрын
Great! Please tell me; how to implement the logout function? Looking forward to hearing from you. Thanks.
@gilbertoosorio2078
@gilbertoosorio2078 Жыл бұрын
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?
@ea4gkq-angel764
@ea4gkq-angel764 2 жыл бұрын
Working!! thanks for your work!
@flamberkruds7912
@flamberkruds7912 2 жыл бұрын
Thanks for the video, I finally figured out why it didn't work for me!
@MichaelMcGarrityWeb
@MichaelMcGarrityWeb 2 жыл бұрын
I have to echo the comments - fantastic tutorial but would be curious how you implement Logout. Any help there? :-)
@CristianVG
@CristianVG 2 жыл бұрын
Uncaught Exception: State parameter does not matched. :/
@jayaatkakkar2701
@jayaatkakkar2701 10 ай бұрын
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
@fanwen1064
@fanwen1064 2 жыл бұрын
This is excellent!!!! Any chance we can get the user's profile picture and something like an unique ID (other than the email)?
@miranham_neo
@miranham_neo 2 жыл бұрын
Isn't there a way to use the Microsoft Graph API beta? I'm trying to get a User's employee ID.
@tsukasadt
@tsukasadt 5 ай бұрын
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.
@sKasubek
@sKasubek Жыл бұрын
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.
@johnferla3110
@johnferla3110 Жыл бұрын
did you manage to solve that issue?
@tienattr8227
@tienattr8227 2 жыл бұрын
hi sir. Is this working in Laravel ?
@diki578
@diki578 3 жыл бұрын
If i register APP, i must pay extra¿
@frankstiftyngayanarico8826
@frankstiftyngayanarico8826 2 жыл бұрын
iif I want to disconnect?
@bitpickle
@bitpickle 3 жыл бұрын
Excellent, thank you, it saved my project
@bitpickle
@bitpickle 3 жыл бұрын
Actually, i'm having an issue. I reported it on github
@nukeman4
@nukeman4 Жыл бұрын
@@bitpickle did you get profile picture? If yes how
@bsungur
@bsungur 2 жыл бұрын
thanx, I'm facing the error : Warning: Undefined array key "code" in /Applications/MAMP/htdocs/test/callback.php on line 13
@bsungur
@bsungur 2 жыл бұрын
line 13: $tokens = $auth->getToken($_REQUEST['code'], $_REQUEST['state']);
@abbasitmemon1728
@abbasitmemon1728 3 жыл бұрын
is there any way to create an azure account without a credit card?
@myPHPnotes
@myPHPnotes 3 жыл бұрын
Yeah. I believe, I did it earlier without such requirements.
@priyankascorner5246
@priyankascorner5246 3 жыл бұрын
Hello sir, use myPHPnotes\Microsoft\Auth me mera error aa raha he. Wo Kyun? Please explain mai kya use karu udhar
@myPHPnotes
@myPHPnotes 3 жыл бұрын
Have you included the class/autoloader in your code?
@djlucascampos007
@djlucascampos007 3 жыл бұрын
@@myPHPnotes im facing the same problem - Steps- 1-donwload Git code 2-unzip in htdocs xammp 3-composer dump-autoload. and now ?
@darshansingh1419
@darshansingh1419 3 жыл бұрын
@@djlucascampos007 where is the link of github code
@rishidusad2985
@rishidusad2985 3 жыл бұрын
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 3 жыл бұрын
had an issue with composer version solved it with updating composer.
@sercan_arga
@sercan_arga 3 жыл бұрын
You have to improve your writing style.
@myPHPnotes
@myPHPnotes 3 жыл бұрын
At?
@agussalimfkip
@agussalimfkip 2 жыл бұрын
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
@wizzzzzzz9135
@wizzzzzzz9135 2 жыл бұрын
Found the solution? Please share the solution, Im having the same error
Login to Laravel with Microsoft365
13:07
DC Blog
Рет қаралды 12 М.
So Cute 🥰
00:17
dednahype
Рет қаралды 56 МЛН
Teaching a Toddler Household Habits: Diaper Disposal & Potty Training #shorts
00:16
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 274 М.
How to authenticate as an application with Microsoft Graph API
12:14
Elaiza Benitez
Рет қаралды 59 М.
Sign In with LinkedIn Integration | LinkedIn API v2
10:03
myPHPnotes
Рет қаралды 12 М.
When to use Traits, Interfaces, and Abstract Classes in PHP
15:08
Andrew Schmelyun
Рет қаралды 20 М.
Authenticating a PHP application against Active Directory in Azure
2:35
PHP REST API From Scratch [1] - Database & Read
32:18
Traversy Media
Рет қаралды 511 М.
So Cute 🥰
00:17
dednahype
Рет қаралды 56 МЛН