Repository navigation
Replies: 4 comments 6 replies
[$domain, $username] = explode('\\', $_SERVER['auth_user']);Does this answer your question? |
0 replies
Yep! But which class should I put it ? Thank you. |
0 replies
|
I'd say wherever you need it... I'm not exactly sure what you're attempting to implement, I'd need more information. |
2 replies
|
I think the WindowsAuthenticate is not loading because when I do this I got error Class 'App\Providers\WindowsAuthenticate' not found // app/Providers/AuthServiceProvider.php /**
|
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The auth_user or remote_user variables returns something like 'domain\username'. That's way I can't use the WindowsAuthenticate. Is there anyway to extract username from these variables?
All reactions