Trouble with setting up Ash.Authentication

I am getting the following compile error and have no clue what it means. "Module" does not appear in my files. I have attempted to follow the various guides to setup google to use OAuth2. (EXIT from #PID<0.95.0>) an exception was raised: (Spark.Error.DslError) [nil] authentication -> api: Module is not an Ash.Api. The resource is:
5 Replies
TechnoMage
TechnoMageOP3y ago
Upon thinking I assume it means the DSL element authentication enclosing api it does not think is an Ash.API but it is referencing TacitRedOTP.API which is an Ash.Api
ZachDaniel
ZachDaniel3y ago
can you share the api module?
TechnoMage
TechnoMageOP3y ago
API and registry
ZachDaniel
ZachDaniel3y ago
in your resource you have TacitRedOTP.Auth but its called TacitRedOTP.Auth.API
Michael Latta
Michael Latta3y ago
Thanks for the extra eyes

Did you find this page helpful?