OAuth configuration disappearing - and my solution
-
Hi,
for some months I had the problem that every time I restarted FreeScout the OAuth configuration was gone. The setting was using an OpenID-Client configured in the Cloudron user section.
Now I found out that the app deletes the configuration from the database every time it restarts. It sets up a new configuration which is faulty, the app does not start and displays an error message. I noticed some mysterious characters in the configuration - the Cloudron instance name is used as the OAuth name, and in my instance it contains German characters like ü and Ü in a quite strange coding. The FreeScout OAuth module cannot handle these.
Maybe I am not the only one who has this problem. It would be a great improvement if the name could be made more robust.
-
Did I understand correctly that you are setting some custom OpenID config but not using Cloudron management i.e it is not Cloudron OpenID?
If so, you have to switch over the app to not using Cloudron user management since the packaging will pre-configure the app to use Cloudron's own OpenID server. To do this:
- Make an app backup. Then download backup config
- Install a fresh freescout without cloudron user management. Do this in a temp location, do not uninstall your existing freescout .
- Then, new freescout -> backups -> import. Upload the config from step 1
- If things look ok, you can delete the original freescout and change location of this temp freescout .