>> how can i do the authorization at Gluu Server before user can login to SAML app
Vipin,
The link you shared can be implemented in Gluu Server for sure as it's SAML is using Shibboleth. We can engage our resources if we get requests from customers or from some sections from Gluu Server community; as it need to be implemented in our velocity templates which Gluu Server is using to perform SAML operations.
We haven't implemented this because mostly we are doing AuthZ in two ways:
- Massively used: OpenID Connect + UMA
- SAML authZ: Release some attribute to Trust Relationship which can differentiate users from AuthZ angle. Most of our EDU customers are using ePSA ( eduPersonScopedAffiliation ) or 'memberOf' attribute to achieve such AuthZ for their services. However I think you can also use [ePE](https://spaces.ais.ucla.edu/display/iamucla/eduPersonEntitlement) to achieve your AuthZ.
If you have any question or confusion, please feel free to let us know.