Mattermost CORS issue

I am facing CORS issue while connecting my Mattermost Server (teams edition 7.2+) with localhost:9005. I have done configuration of CORs from System Console also done reverse proxy server configuration as mentioned in this solution CORS issue on mattermost - #5 by marcokundt.
After this configuration I am able to login but getting session expire after logged in error
Can you please help me out from this issue.

@amy.blais @agnivade Can you please help me out form this issue?

I don’t have expertise to help with this particular issue. I see that you’ve also posted in the Developers channels, and the Peer-to-peer Help channel is another good place to post about this Mattermost.