-
From my reading of the error message, it seems the id variable was not set correctly for the MySQL insert query (it is empty). @pedrocm so this happens only when you do OIDC login and not when you login as admin? Also, can you also confirm which Cloudron version you are on (this is listed in Settings)?
-
I change back original role to admin, and put an enviroment variable link
export AUTH_LDAP_DEFAULT_ROLE_ID=<id of role> export AUTH_OPENID_DEFAULT_ROLE_ID=<id of role>
but it still returning the same error. only people are admin in cloudron can login if they not already did in the first day.
-
@pedrocm Can you report this upstream at https://github.com/directus/directus/issues and link the issue here so we can follow up ?
-
of course...
https://github.com/directus/directus/issues/21572 -
I also have this problem. The error is that I can't use Login with cloudron because their default authentication source (provider) is set to 'default'. I can change that to 'cloudron'. But still while logging in, it will say 'invalid_provider'. Once I locked my admin account out by changing the source to 'cloudron' then changed the provider using postgres query. Issue still remains unsolved, but since all users have their passwords it's not been an urgent problem. But still.. worth looking into it.
-
-
the new version of Directus on cloudron dos not use LDAP and you cannot use OPENID but CLOUDRON as variable.
Just put
export AUTH_CLOUDRON_DEFAULT_ROLE_ID="xxx"@nebulon can you update the directus documentation to avoid this error?
-
@nennogabriel said in Directus fail to create an user from Cloudron Open ID:
the new version of Directus on cloudron dos not use LDAP and you cannot use OPENID but CLOUDRON as variable.
what do you mean by this? Why can we not use OPENID?