MiroTalk P2P cannot join rooms if OIDC user is same as .env user
-
Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.
@mirotalk-57bab571 can it be made to work with local host auth first before checking OIDC where credentials won't match?
-
Yeah description is a little confusing but I think what @robi means is that they allowed a user (that is not a Cloudron OIDC user) in the .env file, but that this username has the same username as a OIDC user on Cloudron. As a result the user allowed manually in the .env file cannot login because the app is expecting the OIDC credentials. But yes, @robi please clarify.
-
It's more for Miroslav who will know what to do with this, since it's his code, hence the mention.
@avatar1024 is close, as the dup user can log in, just cannot join user specified rooms. Only autogenerated ones.
In any case, the auth flow and permissions need some TLC.
Nothing for the Cloudron team to do.
-
@mirotalk-57bab571 following up
-
Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.
@mirotalk-57bab571 can it be made to work with local host auth first before checking OIDC where credentials won't match?
@robi said in MiroTalk P2P cannot join rooms if OIDC user is same as .env user:
Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.
Hi Robi, could you please provide the exact steps and configuration you used to reproduce the issue? Thank you!
-
@robi said in MiroTalk P2P cannot join rooms if OIDC user is same as .env user:
Since I somehow ended up in this configuration, the workaround was to edit the username in the .env file so it's not the same.
Hi Robi, could you please provide the exact steps and configuration you used to reproduce the issue? Thank you!
@MiroTalk Sure..
My install is from before OIDC was available, hence my Cloudron user 'robi' was added to the .env file.
Some time after OIDC integration logging in was a success but not joining custom rooms.
Hence the need to change or remove the user 'robi' from the .env file.
To reproduce, set a user in .env to the same as a user in OIDC.
-
So if i understand well the issue you encountered was related to an older version of MiroTalk P2P?
In the latest release, I’m unable to reproduce the problem, everything seems works as expected with OIDC enabled.
Please update your MiroTalk P2P instance to the latest version, and let me know if the issue persists.
Thank you!