You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When new users are created during, in my case, the OIDC login process (by setting $oidcCreateUser to true), they are not member of any client and as such do not have access to any projects. A nice feature would be to have them added to a specified default client.
Describe the solution you'd like
This should probably have been a pull request, but I'm to unsure how to do one properly. 😄
Is your feature request related to a problem? Please describe.
When new users are created during, in my case, the OIDC login process (by setting
$oidcCreateUser
totrue
), they are not member of any client and as such do not have access to any projects. A nice feature would be to have them added to a specified default client.Describe the solution you'd like
This should probably have been a pull request, but I'm to unsure how to do one properly. 😄
In /app/Domain/Oidc/Services/Oidc.php, add e.g.,
And in the same file when running the
createUser
method, change'clientId' => ''
to'clientId' => $this->defaultClient
,At last, add it to wherever default configurations are stored, e.g., in /app/Core/DefaultConfig.php, add
public int $oidcDefaultClient = 0;
.The text was updated successfully, but these errors were encountered: