.Net Membership login

10 posts, 0 answers
  1. Todd Bannar
    Todd Bannar avatar
    13 posts
    Member since:
    Dec 2005

    Posted 23 Jan 2013 Link to this post

    How can I setup a login page to validate against a ASP.NET Membership database?  Is it even possible?  If not, how do you implement any type of user authentication?

    Thanks
  2. Chuck
    Chuck avatar
    35 posts
    Member since:
    Oct 2008

    Posted 01 Mar 2013 Link to this post

    As far as Asp.Net authentication you would have to have a remote service stood up so that you could call in from your mobile app to validate the user. It could be done and it is pretty straight forward, but here is a sample of registering and authenticating a user against parse.

    https://github.com/chuckcatron/Parse-Authentication.git
  3. Patrick
    Patrick avatar
    3 posts
    Member since:
    Oct 2012

    Posted 20 Mar 2013 Link to this post

    Gentlemen,

    I have a similar question: How can I implement users login using their Google, Facebook, Yahoo, etc. accounts like Telerik login page?

    Thanks
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 08 Apr 2013 Link to this post

    Hi Patrick,

    Take a look at the following forum thread. You might also want to review our Facebook sample that uses OAuth authorization.

    Kind regards,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  5. Chuks
    Chuks avatar
    2 posts
    Member since:
    Apr 2013

    Posted 17 Apr 2013 Link to this post

    Hi
    Can someone guide me on how to validated a username and password in javascript using the Kendo Mobile UI with icenium, the authentication values are static within the javascript code e.g. username: foo and password: Hello 
  6. David Silveria
    David Silveria avatar
    234 posts
    Member since:
    May 2006

    Posted 18 Apr 2013 Link to this post

    There is nothing specific to Kendo or Icenium in your question. Check stackoverflow or other threads on the net covering this topic:

  7. Chuks
    Chuks avatar
    2 posts
    Member since:
    Apr 2013

    Posted 18 Apr 2013 Link to this post

    Thanks for the tips
  8. Alejandro
    Alejandro avatar
    6 posts
    Member since:
    Jul 2013

    Posted 24 Apr 2014 Link to this post

    I have the same question.

    We are going to be using Appbuilder to have user logon against out existing asp.net membership. I know the process involves a web service that validates the user and the app itself that stores someway of the user been validated.
    I looked at the code Chuck posted but all it does is call Parse.com. That is the part that we need to know how to implement.

    Any one has any ideas?
  9. Ayman
    Ayman avatar
    1 posts
    Member since:
    Jun 2013

    Posted 23 Apr 2015 in reply to Iva Koevska Link to this post

    You can use the same authentication method in ASP.NET  as well in  WEB API as back end for the Mobile application

    you just create a controller/method  to mimic that  as follows

     

     public class AccountController : ApiController
        {

     [HttpPost]
            public HttpResponseMessage MobileLogin(Model.Login model)
            {
                if (Membership.ValidateUser(model.UserName, model.Password))
                {
                    FormsAuthentication.RedirectFromLoginPage(model.UserName, model.RememberMe);
                    return this.Request.CreateResponse(HttpStatusCode.OK);
                }

                return this.Request.CreateResponse(HttpStatusCode.Forbidden);
            }

     }

     

    then in the global you will set the context in the Application_PostAuthenticateRequest

    if you run a fiddler you will see the asp.net cookie

Back to Top