Grails 3 with OAuth 2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Grails 3 with OAuth 2

bobbywarner
I created a new screencast that walks through building an API with Grails 3 and OAuth 2.  The example application does not use any plugins for security, but rather uses the Spring Boot Security Starter and Spring Security OAuth directly.  My goal was to create a golden sample for others to use as a starting point for creating their own APIs with Grails and OAuth.  Please let me know if there are any suggestions for improvement to the sample app.  Thanks!

Screencast:  http://blog.agileorbit.com/2015/05/11/Grails3-OAuth2.html

Sample App: https://github.com/bobbywarner/grails3-oauth2-api


Thanks,
Bobby

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/787ce0d7-b150-4e90-b4f8-92ae401f7764%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 3 with OAuth 2

Göran Ehrsson-2
Bobby, I watched your screencast this morning on the bus+metro and I almost forgot to step off at the right station! :-)
This was one of the best screencasts I've viewed in a long time. Great work!
And the sample application looks like a great starter app for OAuth 2 based Grails 3 applications. I will definitely use it as a starter for my next API project.

Thanks!

/Göran

Den måndag 11 maj 2015 kl. 18:55:58 UTC+2 skrev Bobby Warner:
I created a new screencast that walks through building an API with Grails 3 and OAuth 2.  The example application does not use any plugins for security, but rather uses the Spring Boot Security Starter and Spring Security OAuth directly.  My goal was to create a golden sample for others to use as a starting point for creating their own APIs with Grails and OAuth.  Please let me know if there are any suggestions for improvement to the sample app.  Thanks!

Screencast:  <a href="http://blog.agileorbit.com/2015/05/11/Grails3-OAuth2.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fblog.agileorbit.com%2F2015%2F05%2F11%2FGrails3-OAuth2.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEL8KJYRc9dB1zrQV5a65Ff5sLH_A';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fblog.agileorbit.com%2F2015%2F05%2F11%2FGrails3-OAuth2.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEL8KJYRc9dB1zrQV5a65Ff5sLH_A';return true;">http://blog.agileorbit.com/2015/05/11/Grails3-OAuth2.html

Sample App: <a href="https://github.com/bobbywarner/grails3-oauth2-api" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fbobbywarner%2Fgrails3-oauth2-api\46sa\75D\46sntz\0751\46usg\75AFQjCNG2suCj2dxHSVbkDA5P6cxCzbf--Q';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fbobbywarner%2Fgrails3-oauth2-api\46sa\75D\46sntz\0751\46usg\75AFQjCNG2suCj2dxHSVbkDA5P6cxCzbf--Q';return true;">https://github.com/bobbywarner/grails3-oauth2-api


Thanks,
Bobby

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/a5fe5070-3688-4e7e-8d6e-20029ce7b74e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Grails 3 with OAuth 2

ekamenev
In reply to this post by bobbywarner
Bobby thank you, I built similar app earlier.

As a suggestion, can you show please how to initialize 2 Spring Security contexts, for managing oauth-client-users resources (you already have one), and another managing oauth-client specific protected urls.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/5e5da31a-7cac-4628-b7ea-4c19af179651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.