I’ve created and maintained a small Scala lib about JWT support for some time except I moved away from Scala for years now (it’s sad, I know…). But now, users are asking me to update the lib to Play 2.7.0 and I’m having issue with how to read the Play application configuration with all that injection magic.
My solution so far was to access
Play.maybeApplication.configuration inside a Scala object but looks like that’s no longer an option. Full code is here.
Anyone could help me / give me some pointer on how to migrate this code to make it Play 2.7.0 compliant?
Thanks in advance!