You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user is added via SAML login, multiple values in the "channels" claim results in no channel subscriptions for the user. A single field in the "channels" claim containing a comma-separated list of channels works correctly.
Steps to reproduce:
Setup a SAML connetion with an IdP to pass "channels" claim with multiple values (in my scenario specifically, Microsoft ADFS with multiple group memberships passed as claims with the claim values set to the desired channel name for the user's AD groups)
Login with a previously unregistered user.
Expected behavior:
User is subscribed to the specified channels.
Actual behavior:
If "channels" is set to a single value in the claim, then works as expected. If multiple values are passed in the "channels" claim, user is not subscribed to any of the specified channels.
Fix can be implemented in /app/meteor-accounts-saml/server/saml_server.js to support both single claim value comma-separated list and multi-value claim. I am submitting a PR with the fix code in it.
Relevant logs:
The text was updated successfully, but these errors were encountered:
Description:
When a user is added via SAML login, multiple values in the "channels" claim results in no channel subscriptions for the user. A single field in the "channels" claim containing a comma-separated list of channels works correctly.
Steps to reproduce:
Expected behavior:
User is subscribed to the specified channels.
Actual behavior:
If "channels" is set to a single value in the claim, then works as expected. If multiple values are passed in the "channels" claim, user is not subscribed to any of the specified channels.
Server Setup Information:
Client Setup Information
Additional context
Fix can be implemented in /app/meteor-accounts-saml/server/saml_server.js to support both single claim value comma-separated list and multi-value claim. I am submitting a PR with the fix code in it.
Relevant logs:
The text was updated successfully, but these errors were encountered: