-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Steps To Reproduce
Hello,
We are packaged penpot app for Cloudron (https://cloudron.io).
Recently authentication seems to be changed in v2.1.0 and now we are facing with an issue that login via our Cloudron OIDC provider stopped to work until enable-registration flag is set.
The configuration we'd like to have working:
PENPOT_FLAGS="enable-login-with-oidc disable-registration disable-login-with-password disable-email-verification enable-smtp"
But it causes Registration is currently disabled error if OIDC user authenticates first time.
If we set enable-registration flag, authentication via OIDC starts to work but also Create an account link appears on the login form which doesn't have any sense in our case as we'd like users from Cloudron user directory to authenticate.
maybe you can implement enable-registration-with-oidc flag to automatically create OIDC users or create respective users automatically w/o additional flag?
Expected behavior
The configuration we'd like to have working:
PENPOT_FLAGS="enable-login-with-oidc disable-registration disable-login-with-password disable-email-verification enable-smtp"
maybe you can implement enable-registration-with-oidc flag to automatically create OIDC users or create respective users automatically w/o additional flag?
Actual behavior
But it causes Registration is currently disabled error if OIDC user authenticates first time.
If we set enable-registration flag, authentication via OIDC starts to work but also Create an account link appears on the login form which doesn't have any sense in our case as we'd like users from Cloudron user directory to authenticate.
Screenshots or video
No response
Desktop (please complete the following information)
any browser
Smartphone (please complete the following information)
No response
Environment (please complete the following information)
https://www.cloudron.io/store/app.penpot.cloudronapp.html
Frontend Stack Trace
No response
Backend Stack Trace
No response
Additional context
No response

