Comments (13)
Yes, the sample has only been tested against CTP6. I will try to update for RC by end of the week. Thanks @jwood803
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Thanks @dstrockis! To help here are a couple of things I noticed, though keep in mind they may be me being dumb. :p
- I used the ASP.NET 5 Preview Web Site template and I noticed that, while it created all the necessary files, it didn't seem to add everything to the project. I had to add everything I needed manually.
- I had to add the
Microsoft.Owin.Security.Cookies
NuGet package to resolveCookieAuthenticationDefaults.AuthenticationType
error.
Let me know if there's anything I can do to help out.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Cool. Will do, thanks!
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Not sure why I didn't do this earlier, but if it helps I uploaded the solution I was using to a repository.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Just to keep everyone in the loop, I was able to get this to build by removing the dnxcore50
section in the project.json
file. It now looks like the below:
"frameworks": {
"dnx451": { }
},
Of course, now I get this run time error:
Could not load file or assembly 'Microsoft.Framework.Logging.ILoggerFactory' or one of its dependencies. The system cannot find the file specified.
I wonder if this part actually needs the dnxcore50
items.
EDIT: I also updated the repository, if needed.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
please update it for RC, I also have the loggerfactory error and I am stuck :(
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
I added Microsoft.Framework.Logging
to the project.json
file as well as remove any instances of Microsoft.Framework.Logging
in the project.lock.json
file and somehow still get the error message. I'm not quite sure what else to do.
EDIT: Thanks to some comments from this StackOverflow question I updated one of the Authorization namespaces. It now "runs" but I just get a blank page. I've updated the repo with the latest.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
I also created my own REPO, thanks to Jon it now compiles, however I get this error
An unhandled exception occurred while processing the request.
InvalidOperationException: Unable to resolve service for type 'Microsoft.Framework.ConfigurationModel.IConfiguration' while attempting to activate 'WebApplication2.Controllers.HomeController'.
Microsoft.Framework.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)
https://github.com/levalencia/AzureADTestASPNET5OpenID
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
I got this working finally. Will update jwood803's repo as soon as I clean it up.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
This is working in VS2015RC in this fork: https://github.com/r2musings/AzureADTest
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
I create a pull request (#5) to support VS 2015 RC and dnx beta5
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
@tushargupta51 can you take a look at this?
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Not good that the documentation page cites a GitHub repository that specifies the use of beta5 and beta6 NuGet packages considering that rc1-final packages are available.
I then read above... This is working in VS2015RC in this fork: https://github.com/r2musings/AzureADTest
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Related Issues (20)
- Not working with AAD tenant HOT 1
- How to you get Azure b2c edit profile to work? HOT 2
- The reply address 'https://localhost:44353/signin-oidc' does not match the reply addresses HOT 2
- Unit / Integration Test HOT 1
- Update the README.md file in the aspnet_core_2_0 branch
- OpenIdConnectOptions creating is BUG! HOT 6
- How to authenticate in SPA on different domain than ASP.NET Core Backend with CORS enabled HOT 6
- Configure session timeout HOT 1
- Instructions incomplete HOT 6
- Does not use the ClientSecret value HOT 2
- Identity - not authenticated and claims are missing HOT 1
- After login browsers loops between azure ad and app, until fail with bad request HOT 2
- AddAzureAd method name change in .NET Core 2.1 HOT 2
- How do I use AzureAD to Authenticate and then use IndividualAuth for Authorization? HOT 3
- appsettings.json TenantId and ClientId HOT 1
- Integration testing HOT 1
- Problem with reply url
- Failed to acquire token silently as no token was found in the cache. Call method AcquireToken HOT 1
- System.Exception: Correlation failed HOT 1
- Publishing to Azure not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.