AngularJS and Web Api Social authentication
Asked Answered
C

1

6

I need some help for authenticate my angularJS app and my rest api(WEB API) with external social logins( twitter, facebook, google, etc).

I'm working with Web-api and angularJS app(not spa project from Visual Studio, it's independent).

How I should do it if I want to authenticate via oauth through my backend, but having a confirmation to permission access at frontend?

Something like that but using authentification at my backend https://dev.twitter.com/docs/browser-sign-flow

Casey answered 27/8, 2014 at 12:45 Comment(2)
Did you look at articles like this one?Intro
I followed this article to the letter, and it's working well for me. It's long, but just be patient and work through it step by step!Nonet
K
0

you can use a JWT to have an auth state on the front-end and you can use it to authenticate your calls to your back-end

http://www.intridea.com/blog/2013/11/7/json-web-token-the-useful-little-standard-you-haven-t-heard-about

Kittykitwe answered 15/4, 2015 at 8:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.