Groovy/Grails SDK for OAuth 2.0 and OpenID Connect with Okta

Hi All,

We are trying to enable server side authentication with OAuth 2.0 and Okta for an application built on Grails 2.3.8 which internally uses Spring 3.x (no Spring-boot) and JDK7.

Is there any stable SDK available which support above Grails version.

We tried couple of below options available on forums and blogs but getting major/minor dependencies/ compatibility errors.–

https://developer.okta.com/blog/2018/04/19/okta-with-grails (Grails version is mismatch here)

https://developer.okta.com/blog/2018/06/12/mfa-in-spring-boot?_ga=2.40393570.1719660042.1549912884-1503508050.1526675129&_gac=1.252137851.1547246384.Cj0KCQiAmuHhBRD0ARIsAFWyPwgFN-mwdtYovvQHnMaie3sW3Pwg4rOoVRj-O00K1qxK-59utL-Z4h0aAt_2EALw_wcB (Spring-boot)

Thanks.

No, we do not support Grails 2 with any of our SDKs. You might try this plugin for OAuth. I haven’t tried it myself. https://grails.org/plugin/oauth?skipRedirect=true

Thanks Matt,
So, Is there any wrapper for java,groovy or Spring 3.x (not spring boot) to mimic same SDK behavior.

Thanks,

There’s a tutorial I wrote last year that shows a few techniques in a non-Spring Boot app. You might find it useful. https://developer.okta.com/blog/2018/09/12/secure-java-ee-rest-api

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.