Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49215

Grails Spring Core security login from app!

$
0
0

@Lindsay_condon wrote:

Guys/Girls please help me out here.

I have my app hooked up to Grails(2.5.1) and Spring core security(2.0 RC5), with CORS 1.1.8 and the white list plugin.

The authentication works 100% in postman app with login and getting data from various services. My token implementation is also working 100% but colour me pink, I cannot get it to authenticate in the app!

It seems that the url, j_security_check is called, it is recognised as an AJAX call and is calling the ajaxSuccess() method.

However the if(springSecurityService.principal.hasProperty("id")) check FAILS! and there is no login for me on my app.

Not on emulators (iphone or Android) nor on the devices iphone 5/6 or on Samsung S3.

Any pointers would be appreciated! First ionic app and running VERY late with delivery...

Cheers in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>