Replies: 3 comments 5 replies
-
|
afaik, |
Beta Was this translation helpful? Give feedback.
-
|
Yes, that's how it works and is documented for More importantly, calling verdaccio/packages/auth/src/auth.ts Line 303 in d028ce1 |
Beta Was this translation helpful? Give feedback.
-
|
Limiting the JWT to the generating plugin makes sense. However, I'm not sure if this is feasible with the current design. It's probably breaking, too, since other multi-plugin setups might depend on the current behavior. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone! We have a discussion started here: n4bb12/verdaccio-github-oauth-ui#205 (comment) and we're looking for some clarification.
Documentation for
allow_accesssays:This creates a little bit of ambiguity around what "success" is. So to clarify, if the user is not allowed access, should there be a
callback(err)orcallback(null, false)?The internal plugin memory seems to throw.
But also there is a need to have things working when multiple plugins are enabled - does
allow_accessallow fallback to another plugin, or is it only available forauthenticate?Beta Was this translation helpful? Give feedback.
All reactions