I have been using authenticating with google using grails oauth2 plugins,but wondered is there any way to use google authentication without using any plugins like by using HttpBuilder for making requests to google.
Related
I have site in grails, and now I need to add API support. Third party application will be using it to access resources. I thought of using Spring Security OAuth2 plugin (Plugin link) for that, but I would like, for now, to skip asking user to authorise application (Is that possible?).
Also, I found Spring Security REST (Plugin link).
I have in plan creating also my own mobile application, so I am not sure what is the better solution. Or is it better to use OAuth2 for third party applications and then REST plugin for my own app? What are benefits of one plugin compared to the other?
I am developing the webapi using jaxrs plugin in a Grails project (existing) in which there is Spring Security configured which is not allowing me to access the api urls i.e /api/**
I am getting You are not authorised to access this page though I have logged in as Admin but I am not able to configure the access to this path with/without authentication.
I guess you're using spring security?
Authentication is generally handled a little differently when implementing a rest api. Check out the excellent Spring Security REST Plugin. There's some really nice documentation here that explains the authentication lifecycle.
How can you access the askToLinkOrCreateAccount.gsp inherent in the SpringSecurityOAuthController?
I am trying to access the functionality to link oAuth credentials to an existing Grails account as opposed to creating a new one.
grails 2.4.2
spring-security-core-2.0-RC4,
spring-security-oauth-2.0.2
spring-security-oauth-google-0.1
what gem/library to work with Google Calendar API data received via ruby oauth plugin and oauth gem?
Just wondering what Ruby developers using oauth are using to work with the actual calendar data for Google Calendar api.
The google-api-ruby-client seems to do the job.
Coincidentally, I was pursing the same use case, and after stubbing my toes on oauth 1 vs 2 and partial answers for wiring it all together, I created a gem, google_oauth_calendar, that provides a generator that does the essential configuration to enable a fresh app to authenticate against Google users and then query their calendar information. After configuring your Console API project, it's essentially a 1 liner to install all the related items. The essence can be seen in the generator code
I'm needing to implement some RESTful webservices for a client in a Grails app and I want to use the jaxrs plugin but I am having a heck of a time finding information on how to implement security that isn't realm based (tomcat-users.xml). I am using the spring-security-core plugin and I'd like to utilize it to authenticate against my webservices. How do I send credentials to the webservice and then authenticate those using spring security? Can someone point me in the right direction?
I found the following and used a modified version of the solution to solve my problem
http://blogs.bytecode.com.au/glen/2010/01/15/hacking-custom-authentication-providers-with-grails-spring-security.html