Files
backstage/plugins/auth-backend
Patrik Oldsberg 5ff8582eb6 Merge pull request #1422 from spotify/mob/auth-std-profile
auth: refactor to include backstage identity and use more explicit types
2020-06-24 10:40:28 +02:00
..
2020-05-15 15:06:42 +02:00
2020-06-23 22:25:25 +02:00

Auth Backend

WORK IN PROGRESS

This is the backend part of the auth plugin.

It responds to auth requests from the frontend, and fulfills them by delegating to the appropriate provider in the backend.

Requirements

Needs AUTH_GOOGLE_CLIENT_ID and AUTH_GOOGLE_CLIENT_SECRET set in the environment for the backend to startup

Local development

export AUTH_GOOGLE_CLIENT_ID=<INSERT_CLIENT_ID_HERE> read -r AUTH_GOOGLE_CLIENT_SECRET <COPY_PASTE_CLIENT_SECRET_HERE> export AUTH_GOOGLE_CLIENT_SECRET run yarn start in packages/backend folder

SAML

To try out SAML, you can use the mock identity provider:

./scripts/start-saml-idp.sh

Authentication providers

How to add an auth provider