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
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
can you share the api module?
API and registry
in your resource you have
TacitRedOTP.Auth
but its called TacitRedOTP.Auth.API
Thanks for the extra eyes