FlowKit icon indicating copy to clipboard operation
FlowKit copied to clipboard

Unable to update group permissions in FlowAuth

Open jc-harrison opened this issue 3 years ago • 1 comments

After uploading a new API spec to an existing server in FlowAuth, I am trying to edit an existing group to grant permissions for the newly-added scopes. I can tick the boxes next to the new scopes, but on attempting to "save" I get signed out and the changes do not take effect.

In the console log I can see that PATCH https://auth.flowminder.org/admin/groups/4/servers is returning a 502 error, and there's a message "SyntaxError: Unexpected token < in JSON at position 1". I haven't yet been able to check the server-side logs to investigate further.

jc-harrison avatar Apr 21 '22 11:04 jc-harrison

The cause of this is that we're not awaiting something we should be in the JS, the trigger for it is that the permissions update is taking too long behind the scenes.

greenape avatar May 09 '22 12:05 greenape