Public ip access only to selected category

I have another idea to make this.
Since my discource getting users from my .net app over SSO
My .net app already watching is request public or private.
Two thing that I do not how to make.
Is there a way to my .net app in sso payload active change premisions for user.
It this cloud be done then my site can tell discource, this is unsceure user let him see only public categories.

Also is there a way to push Discourse requesting sso payload more often or every time source IP change on request or just to some how make discource log off user more often so they need to talk with SSO server


Apologies for spaming, but If i did not ask, I will never reailized the way.
My sso site can put members in grup and alos can remove from ir

Specifying group membership

You may specify group membership in your SSO payload using the add_groups and remove_groups attributes.

add_groups is a comma delimited list of group names we will ensure the user is a member of.
remove_groups is a comma delimited list of group names we will ensure the user is not a member of.

Only question I do not know is
How to tell discource to send users to login again.
Is there any settings to change so users are push to sing in again ?