We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a request to process a list of SAML attributes to define the list of roles a user will have in Rocket.Chat.
Currently the saml server code hardcodes it to the user role:
user
Rocket.Chat/app/meteor-accounts-saml/server/saml_server.js
Line 178 in 63a57fb
This should set the roles user and admin to the user that is logging in (the attribute name is just a suggestion):
admin
<saml:Attribute Name="RocketGlobalRole" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"> <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">user</saml:AttributeValue> </saml:Attribute> <saml:Attribute Name="RocketGlobalRole" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"> <saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">admin</saml:AttributeValue> </saml:Attribute>
The text was updated successfully, but these errors were encountered:
pierre-lehnen-rc
Successfully merging a pull request may close this issue.
Request
This is a request to process a list of SAML attributes to define the list of roles a user will have in Rocket.Chat.
Problem
Currently the saml server code hardcodes it to the
user
role:Rocket.Chat/app/meteor-accounts-saml/server/saml_server.js
Line 178 in 63a57fb
Example
This should set the roles
user
andadmin
to the user that is logging in (the attribute name is just a suggestion):Related:
The text was updated successfully, but these errors were encountered: