I have a business trial account in which i was trying to hookup the sso authentication , I was able to get it working but wanted to know if there is a saml attribute to map to roles in n8n ? further more does it work to map to project roles as well ? otherwise if there is a possibility of a custom POST Login hook i can implement to provision the project roles myself. I define the project roles for a user and then want to map the roles through sso , is it possible using the current SSO functionality offered by n8n ?
n8n version: 1-110-1
Database (default: SQLite): Postgres
n8n EXECUTIONS_PROCESS setting (default: own, main): main
We also use the Business Tier account, and have gone through the process of setting up SSO.
I will say that it is quite limited, as far as i could tell there is no mapping options, and there are in fact only two role types available anyway (admin or member), so the functionality for user controls within n8n on this license tier is quite limited.
I suppose you could maybe do some workarounds using the API to manage access to specific projects, but other than that it seems very limited in terms of management options.
I believe there are a few additional features available on Enterprise edition.
hi @singhkartaar and @Bearman just spotted this one and wanted to let you know that we have now released the ability to map both instance level and project level roles from your IdP when using SAML. This was added from version 1.122.2 onwards and you can learn more about it in our docs here.
If you have any specific questions on this at all, just let me know!
We just signed up at the business tier, and followed the directions in the docs for setting instance roles, but it doesn’t seem to be picking it up. I’ve gone through the directions again multiple times, but can’t find anything, and the “Test settings“ button on the sso page doesn’t show the custom fields so it’s kinda hard to diagnose…