Fix wrong Beszel OAuth2 navigation instructions
Printed "hub Settings -> Auth providers", which doesn't exist. The real location is PocketBase's own admin panel underneath the hub (/_/#/settings -> unhide collection edit controls -> edit the "users" collection -> Options tab -> OAuth2), confirmed against beszel.dev's OAuth guide directly. Fixed in both beszel.sh's own offer and authelia.sh's generic OIDC menu preset.
This commit is contained in:
+9
-1
@@ -288,12 +288,20 @@ _beszel_offer_authelia_oidc() {
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo " In the hub: Settings -> Auth providers -> OpenID Connect:"
|
||||
echo " This lives in PocketBase's own admin panel underneath the hub, not the"
|
||||
echo " hub's own Settings page — checked against beszel.dev's OAuth guide"
|
||||
echo " directly, exact steps:"
|
||||
echo " 1) Go to https://<your-beszel-domain>/_/#/settings and toggle OFF"
|
||||
echo " \"Hide collection create and edit controls\""
|
||||
echo " 2) Go to Collections, edit the \"users\" collection"
|
||||
echo " 3) Options tab -> enable OAuth2 -> Add provider, fill in:"
|
||||
echo " Client ID: beszel"
|
||||
echo " Client Secret: $OIDC_CLIENT_SECRET_PLAIN"
|
||||
echo " Auth URL: ${OIDC_AUTHELIA_PORTAL_URL}/api/oidc/authorization"
|
||||
echo " Token URL: ${OIDC_AUTHELIA_PORTAL_URL}/api/oidc/token"
|
||||
echo " User Info URL: ${OIDC_AUTHELIA_PORTAL_URL}/api/oidc/userinfo"
|
||||
echo " 4) Save, then toggle \"Hide collection create and edit controls\" back ON"
|
||||
echo " at /_/#/settings — leaving it off is its own exposure once you're done"
|
||||
echo ""
|
||||
log_warning "The Client Secret above is shown once — save it now."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user