Files
backstage/plugins/auth-backend/README.md
T
Marcus Eide e9a2444c9a Documentation: Add guide for how to add an auth provider to the backend (#1145)
* Add guide for how to add a auth provider to the backend

* Move to new docs folder and small corrections

* Split oauth and non-oauth use-cases up and add more info about the verifyFunc

* Move summary to top and add note about non-oauth providers being experimental
2020-06-09 09:39:27 +02:00

859 B

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