Security.json changes in Dev not reflecting after Deploy

Wappler Version : 5.02
Operating System : MacOS
Server Model: n/a
Database Type: n/a
Hosting Type: DO

Expected behavior

If I make a change to the security.json file, then publish to LIVE, my changes should be on the server version

Actual behavior

I make a change to security.json thru the UI,
Publish,
And re-open security.json to find my change is not there.
(Its like its keeping 2 copies of the file. I have to change it while Target=LIVE, and Save)

How to reproduce

Open security provider


change the Identity column to something else, save, close and reopen to verify “it stuck”.
CLOSE security.json

Change Target to LIVE
Open security.json. You won’t see your change. Which you might think is fine, because what its showing is what was last published.
Close security.json

now Publish to LIVE

reopen security.json, and you will not see the change

RAMIFICATIONS

So when you test Login functionality in development, it will work fine,
but in LIVE, it will not function the same IF, at some point during this setup, you changed the mapping of the Identity or Username fields (possibly Password too).
In my case I changed my login name field from Email to LoginName, but it was still stuck on Email. So logins were failing.

Community Page
Last updated: