PageSourceSearch

https://backstage.io/assets/js/a3752e13.d84931fa.js

js backstage.io collected 2026-09-24 08:26:36 UTC 3,233 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbackstage_microsite=self.webpackChunkbackstage_microsite||[]).push([["11677"],{640620(t,e,a){a.r(e),a.d(e,{assets:()=>l,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>n,toc:()=>u});var n=a(118583),s=a(474848),o=a(28453);let i={title:"How to enable authentication in Backstage using Passport",author:"Lee Mills, Spotify",authorURL:"https://github.com/leemills83",authorImageURL:"https://avatars1.githubusercontent.com/u/1236238?s=460&v=4"},r,l={authorsImageUrls:[void 0]},u=[];function c(t){let e={a:"a",img:"img",p:"p",...(0,o.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.p,{children:(0,s.jsx)(e.img,{alt:"auth-landing-page",src:a(861290).A+"",width:"1548",height:"622"})}),"\n",(0,s.jsxs)(e.p,{children:["Getting authentication right is important. It helps keep your platform safe, it\u2019s one of the first things users will interact with, and there are many different authentication providers to support. To this end, we chose to use ",(0,s.jsx)(e.a,{href:"http://www.passportjs.org/",children:"Passport"})," to provide an easy-to-use, out-of-the-box experience that can be extended to your own, pre-existing authentication providers (known as strategies). The Auth APIs in Backstage serve two purposes: identify the user and provide a way for plugins to request access to third-party services on behalf of the user. We\u2019ve already implemented Google and GitHub authentication to provide examples and to get you started."]})]})}function p(t={}){let{wrapper:e}={...(0,o.R)(),...t.components};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(c,{...t})}):c(t)}},861290(t,e,a){a.d(e,{A:()=>n});let n=a.p+"assets/images/auth-landing-36c55882496255abe67830e1ea6db2ea.png"},28453(t,e,a){a.d(e,{R:()=>i,x:()=>r});var n=a(296540);let s={},o=n.createContext(s);function i(t){let e=n.useContext(o);return n.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function r(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(s):t.components||s:i(t.components),n.createElement(o.Provider,{value:e},t.children)}},118583(t){t.exports=JSON.parse('{"permalink":"/blog/2020/07/01/how-to-enable-authentication-in-backstage-using-passport","source":"@site/blog/2020-07-01-how-to-enable-authentication-in-backstage-using-passport.mdx","title":"How to enable authentication in Backstage using Passport","description":"auth-landing-page","date":"2020-07-01T00:00:00.000Z","tags":[],"readingTime":2.44,"hasTruncateMarker":true,"authors":[{"name":"Lee Mills, Spotify","url":"https://github.com/leemills83","imageURL":"https://avatars1.githubusercontent.com/u/1236238?s=460&v=4","key":null,"page":null}],"frontMatter":{"title":"How to enable authentication in Backstage using Passport","author":"Lee Mills, Spotify","authorURL":"https://github.com/leemills83","authorImageURL":"https://avatars1.githubusercontent.com/u/1236238?s=460&v=4"},"unlisted":false,"prevItem":{"title":"Announcing Backstage Software Templates","permalink":"/blog/2020/08/05/announcing-backstage-software-templates"},"nextItem":{"title":"Backstage Service Catalog released in alpha","permalink":"/blog/2020/06/22/backstage-service-catalog-alpha"}}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.