You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@grails.apache.org by Tim Ringwood <ri...@vsac.org.INVALID> on 2025/07/25 15:11:03 UTC

Grails 5 OKTA Authentication

My goal is to get OKTA authentication working in Grails 5. Due to company restraints I am required to use Java 8.
Currently we are a mix of Grails 2, 3 & 4 and trying to unify them.

I have followed several examples and nothing is working. Either I get errors or I get generic login screen not OKTA's.

The example I have gotten the farthest with after some minor adjustments in where config values are set is:

https://github.com/puneetbehl/grails-oauth2-okta-example/

Which gives the error:

java.lang.IllegalStateException: No GORM implementations configured. Ensure GORM has been initialized correctly

Which comes GormEnhancer due to DATASTORES_BY_TYPE being empty.

I don't even need GORM

Any help on to get this example to work or a example that works out the box (I've tried plenty, none do) would be helpful

Tim