ASP.NET Handling/combining windows authentication and azure active directory in a cs-project

Multi tool use
up vote
0
down vote
favorite
I got an ASP.NET website using windows authentication that is deployed and integrated with AD.
For azure deployment I would like to authenticate using azure active directory.
These two methods of authentication are not compatible in the same cs-project.
Is there a method/workaround for having both of these authentication methods available without having to branch the source code?
asp.net


add a comment |
up vote
0
down vote
favorite
I got an ASP.NET website using windows authentication that is deployed and integrated with AD.
For azure deployment I would like to authenticate using azure active directory.
These two methods of authentication are not compatible in the same cs-project.
Is there a method/workaround for having both of these authentication methods available without having to branch the source code?
asp.net


is it mvc or web forms ? do you use asp.net core ? in any case you will be moving to an openID connect model with azure acive directory being your ID store
– Aravind
yesterday
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I got an ASP.NET website using windows authentication that is deployed and integrated with AD.
For azure deployment I would like to authenticate using azure active directory.
These two methods of authentication are not compatible in the same cs-project.
Is there a method/workaround for having both of these authentication methods available without having to branch the source code?
asp.net


I got an ASP.NET website using windows authentication that is deployed and integrated with AD.
For azure deployment I would like to authenticate using azure active directory.
These two methods of authentication are not compatible in the same cs-project.
Is there a method/workaround for having both of these authentication methods available without having to branch the source code?
asp.net


asp.net


asked yesterday
kristian mo
1,2172813
1,2172813
is it mvc or web forms ? do you use asp.net core ? in any case you will be moving to an openID connect model with azure acive directory being your ID store
– Aravind
yesterday
add a comment |
is it mvc or web forms ? do you use asp.net core ? in any case you will be moving to an openID connect model with azure acive directory being your ID store
– Aravind
yesterday
is it mvc or web forms ? do you use asp.net core ? in any case you will be moving to an openID connect model with azure acive directory being your ID store
– Aravind
yesterday
is it mvc or web forms ? do you use asp.net core ? in any case you will be moving to an openID connect model with azure acive directory being your ID store
– Aravind
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204305%2fasp-net-handling-combining-windows-authentication-and-azure-active-directory-in%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
2a 6vTZ2,ER00cDY,oAu1D,GG,26IysU,M D6hG56ud5yPHswG1F3O4n,dXxr6qiXg07B9K8
is it mvc or web forms ? do you use asp.net core ? in any case you will be moving to an openID connect model with azure acive directory being your ID store
– Aravind
yesterday