- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Pixie uses Hydra/Kratos to provide an open source authentication flow.
To set up authentication and invite others to join your organization, check out the Quick Start directions.
To read about how we designed our open source authentication flow, check out the blog post.
Pixie also supports using Auth0 for authentication. To set up Auth0:
Create an Auth0 account.
Create a Machine-To-Machine Application.
client_credentials
and save the changes.read:user_idp_tokens
for identity provider access. Make sure to hit Update.oauth_config.yaml
file, filling in the values for Domain and Client ID.apiVersion: v1kind: ConfigMapmetadata:name: pl-oauth-confignamespace: plc-devdata:PL_OAUTH_PROVIDER: auth0PL_AUTH_URI: <auth0-domain>PL_AUTH_CLIENT_ID: <auth0-client-id>
apiVersion: v1kind: Secretmetadata:name: cloud-auth0-secretsnamespace: plc-devtype: OpaquestringData:auth0-client-id: <client-id>auth0-client-secret: <your-secret>
kubectl apply -f auth0_config.yaml -f oauth_config.yaml
auth
, profile
, cloud-proxy
in the cloud deployment.In Authentication > Database, create a database connection in Auth0. This is where your email/password users will be stored. The default settings should suffice.
Make sure your connection is enabled for your Auth0 application. This can be enabled in the "Applications" tab for your connection.
Update pl-oauth-config
(oauth_config.yaml
) to include PL_AUTH_EMAIL_PASSWORD_CONN: <your auth0 connection name here>
. Redeploy the config and cloud services, if already running.
The following contains basic instructions for customizing email/password flows in Auth0, using Auth0's functionality for sending out verification/password reset emails and showing the username/password login screen. By default, Auth0 will provide their own default templates.
Update the email provider: To have Auth0 send out the email using your domain, configure your mail provider in Branding > Email Provider.
Update the email templates: Customize emails templates at Branding > Email Templates.
Update the login/signup pages: Pixie's UI is compatible with both Auth0's new and legacy universal login pages. Both pages are highly customizable. This can be done in Branding > Universal Login.