Hi Lukasz, Did you succeed to integrate AngularJs + JWT auth + apigility? I need to develop an application on this way and a skeleton could help me to gain time.
Thanks. Att, Maicon Pazin Em terça-feira, 28 de outubro de 2014 10h44min27s UTC-2, lwi escreveu: > > Hello, > I have to secure my Angular app with OAuth2 protocol. > > OAuth2 provider is Apigility. > I want to use gran_type="password" way to get access token. > > Basically I followed this: > http://jeremymarc.github.io/2014/08/14/oauth2-with-angular-the-right-way/ > article. > When I use piece of code connected with attaching token to header I > encounter a problem. > Token is attached to requests generated by angular as it should be, but > there are also some requests executed by jquery (connected with > pagination). > And this jquery requests don't have Authorization in it's headers. > > > Does any one knows where might be the problem? > Maybe I should change the way of integrating Angular and Oauth2 ? > > Thanks in advance for help. > > Regards, > Lukasz > > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
