A
A
ARezvanov2015-03-31 15:13:44
API
ARezvanov, 2015-03-31 15:13:44

Front-end for web api( asp.net mvc), what to write on?

There is a back-end Api (asp.net mvc).
You need to write a front-end, but not just write it, but to use the back-end's authentication and authorization tools.
And not just to use, but with less labor costs, and so that it was in feng shui.
Or does Feng Shui authentication and authorization need to be done on the front-end side ???

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Romanov, 2015-03-31
@Kaer_Morchen

You probably need to build on the fronted framework you are using.
I work with Ember.js in projects , and for authorization I use the ember-simple-auth library .
You can use ready-made modules for authorization in it: devise, torii, oauth2 or write a custom authorizer for your server (I do this). The token can be stored in localStorage or in a cookie.
Here is an example of custom authorization, as you can see, it's okay.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question