support loading idp token sessions in the proxy service (#5488)

This commit is contained in:
Caleb Doxsey 2025-02-24 11:09:51 -07:00 committed by GitHub
parent 5960a6df96
commit 7896ccda5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 111 additions and 46 deletions

View file

@ -40,7 +40,7 @@ func (p *Proxy) routesPortalJSON(w http.ResponseWriter, r *http.Request) error {
}
func (p *Proxy) getPortalRoutes(ctx context.Context, u handlers.UserInfoData) []portal.Route {
options := p.currentOptions.Load()
options := p.currentConfig.Load().Options
pu := p.getPortalUser(u)
var routes []*config.Policy
for route := range options.GetAllPolicies() {