The Scenario
I have been following Brad Abrams Silverlight With Ria Tutorials In order to build a web-based application. I have implemented my own custom version of the application that is built throughout the tutorials and am hoping to add in some authentication to it.
The Problem
I have followed this tutorial also by Brad Abrams on Authentication which was totally useless. I have also looked at multiple other tutorials on Silverlight Authentication but they too are very ambiguous in assuming knowledge etc. (I have never implemented website authentication ever before).
The Question
Does anyone have (or could you write one) a step-by-step guide for total dummies to implementing Silverlight with RIA Services Authentication? It can be totally basic, I just need to be able to define two users (an admin and a guest) and have the site only be accessible to these two accounts.
Help greatly appreciated.
Making RIA Services to work with authentication can be just using standard forms auth or windows authentication. Its just code. If you don't know how to get Forms Auth or Windows Auth working with ASP.NET, that's where i'd start.
Brad Abrams has a blog post up now further explaining authentication.
Brad Abrams
Related
I think I finally understand OAuth/OIDC/IdentityServer/IdMgr/IUA/ASP.NET Identity well enough to recognize the answer to my question.
Can anyone point me at a full-featured end-user self-registration example/add-on for IdentityServer 3 or 4?
I'm aware of the admin UI products. I'm looking for an end-user, not administrator, self-registration and contact info admin UI similar to Individual User Accounts in MVC projects.
I'd also like the functionality, including UI, to reside on the STS and integrate with the STS OIDC authorization functionality.
A user registration add-on for IdentityServer 3 or 4 would make my day.
Or, is it true that comprehensive turn-key end-user self-registration for IdentityServer does not exist?
I have reviewed and ran the IdSvr3 AspNetIdentity integration samples. If end-user self-registration is there I don't see it.
I have seen a few examples that showed how to add an end-user self-registration page to identity server but they seemed more like a hack than comprehensive user self-registration/contact info admin feature, ALA MVC Individual User Accounts.
Using IdentityServer4 hosted in a .NET Core web app as the STS is an option I've explored. I didn't find any complete examples there either.
The simple answer, is, buy their AdminUI solution. https://www.identityserver.com/products/#AdminUI
If you don't want to buy it, the answer is you have to dive into the complexity and build it all yourself.
The Skoruba admin IdentityServer4 ad-on has end-user self registration.
Nahid Farrokhi's web API and MVC articles, see links below, explain how to configure IdSvr4 and .NET Framework 4.5.2 MVC and web API to work together.
https://nahidfa.com/posts/identityserver4-and-asp-.net-web-api/
https://nahidfa.com/posts/identityserver4-and-asp-.net-mvc/
I want to allow my users to log in with their Twitter accounts.
What do I need to implement this? I want to know all the processes that DNN follows for user authentication.
I'm using DotNetNuke 6.2, Visual studio 2008, SqlServer 2008
Any answer will be welcome, including links to pages to learn about it, online tutorials, etc. Excuse my English but I speak spanish!
Best place to learn how to create new authentication provider is to review existing authentication providers. You can download source code from dotnetnuke.codeplex.com.
Here is a link from Joe Brinkman's post which is 2-3 year old but still usefull since nothing has changed much in terms of implementing authentication provider.
Let me know if you need more help.
i have implemented an application using silverlight mvvm and prism, mef, wcf services, now my requirement is how to use wcf web services to create login and register screen to redirect into application . Please suggest a good approach to do this task
Advance thanks
That is not really a technical question. It is more of an "How do I create my app" type of question. That being said, I would try looking at the demo applications on silverlight.net and see if you can find something close to what you are looking for there. Those usually come with full source code.
Currently I am working on a LOB Silverlight application. Eventually, I need to implement a single sign-on for the new app and an old Classic ASP web app. Right now, the Silverlight App is secured using Forms Authentication through a custom Membership Provider.
Reading online, I've come to think that Passive Federated Security is what I need. But, I am struggling with following questions:
1) What is a relatively painless way to set up STS. I don't really want to spend a lot of time setting this up. I've take a look at WIF - it seems to require some platform changes so that really is not an ideal solution [Even though it seems relatively easy to set up]
2) How do I integrate Classic ASP app to use the STS? - Currently it is validating against a custom userStore and putting the authentication/authorization info in the session.
3) Eventually, users will be accessing both apps through a third-party portal that authenticates them outside of our organization. So, somehow the portal would need to be able to issue Security Tokens [SAML??] that the STS will understand.
I am currently focusing on 1 and 2. If anyone has even a slightest insight into this, that would be greatly appreciated.
Thanks,
Ravi
The latest Identity Training Kit contains a full lab that demonstrates SL + claims identity.
There are a number of questiosn on StackOverflow that ALMOST hit this topic head on, but they are either for other technologies, reference obsolets information or don;t supply an answer that I can suss out. So pardon the almost duplication :)
I have a working ADO.NET Data Service, and a WPF client that hits it. Now that they are working fine I want to add authentication / security to the system. My understanding of the steps so far is...
Turn on forms authentication and configure it on the server (I have an existing asp.net membership service DB for other aspects of this app, so that isnt a problem) so that it is required for the service URL
In WCF apply for and recieve a forms authentication "ticket" as part of a login routine
Add that "ticket" to the headers of the ADO.NET service calls in WPF
Profit!
All well and good - but does anyone have a line on a soup to nuts code sample, using the modern releases of these technologies?
Thanks!
I have an example of doing this from Silverlight on my blog.
Check it out here : Forms Authentication and ADO.NET Data Services
You should be able to adapt this to a WPF application with minor code changes.