Installs AshScim. Invoke with mix igniter.install ash_scim
Wires AshScim.User onto your user resource, adds the standard SCIM
mapping defaults, ensures the router-bypass policy is present, and
generates a SCIM router module. The installer is idempotent — re-running
it on a partially-installed app picks up where it left off.
The endpoint plug that forwards /scim/v2/* to the generated router
isn't auto-wired — SCIM URLs include : in schema IDs which Phoenix's
Plug.Static rejects, so the dispatch needs to live above
Plug.Static in the endpoint pipeline. The installer prints the exact
snippet to paste into your Endpoint module after it runs.
Examples
mix igniter.install ash_scim
mix igniter.install ash_scim --user MyApp.Accounts.User --router MyAppWeb.ScimRouter
Options
--accountsor-a— the domain that contains your user resource. Defaults toYourApp.Accounts.--useror-u— the user resource. Defaults to<accounts>.User.--routeror-r— the SCIM router module to generate. Defaults to<web_module>.ScimRouter, falling back to<accounts>.ScimRouterwhen no Phoenix web module is present.