Switch to patch changes

Signed-off-by: João Madureira <jpmadureira@gmail.com>
This commit is contained in:
João Madureira
2025-02-14 15:33:33 +00:00
parent cb316fc8e0
commit fec0a8956a
+1 -1
View File
@@ -1,5 +1,5 @@
---
'@backstage/plugin-auth-node': minor
'@backstage/plugin-auth-node': patch
---
Fixed a potential issue when using the Backstage's `PassportOAuthAuthenticatorHelper` to implement a custom OAuth Authenticator. The issue occurs during the start stage of the authorization process when the custom `passport.Strategy` calls the `error()` to propagate an error message. Because the `error` function wasn't being set Backstage would throw a `this.error is not a function` error thus hiding the original cause.