-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable auth for the endpoints with support #187
base: main
Are you sure you want to change the base?
Conversation
|
1869f85
to
3879588
Compare
📣 NOTIFICATION Generated by @thefrontside/actions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
@@ -17,6 +17,9 @@ auth: | |||
# see https://backstage.io/docs/auth/ to learn about auth providers | |||
session: | |||
secret: ${AUTH_SESSION_CLIENT_SECRET} | |||
# see https://backstage.io/docs/auth/service-to-service-auth#setup | |||
keys: | |||
- secret: ${BACKEND_SECRET} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will want to confirm that we have this token set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
/rebase |
Motivation
Each endpoint must support the IdentityApi. We have a few custom plugins which do not yet appear to support it. This enables auth on any of the endpoints that appear to support it.
I think this should land after #185, but I don't believe it technically matters.
Approach
Add an
authMiddleware.ts
andcookieAuth
as per the community docs.