Generate an auth controller for your OpenID provider
Generates an auth controller that starts the OpenID Connect flow and handles the result. Additionally, it will add the routes to your router.
Example
mix oidcc_plug.gen.controller \
--name MyAppWeb.AuthController \
--provider MyApp.OpenIDProvider \
--base-url /auth \
--issuer https://account.google.com \
--client-id client-id
Options
--nameor-n- Name of the controller--provideror-p- Name of the OpenID Provider--base-urlor-b- Base URL for the controller--issueror-i- Issuer URL of the OpenID Provider--client-id- Client ID for the OpenID Provider--client-secret- Client Secret for the OpenID Provider