Replies: 2 comments 2 replies
-
The Event Manager can be used for this. Create an Action of type "Identity Provider Account Check" and use a template something like this:
Then create and Event Action Rule with Trigger "Identity Provider Logins" and Type "User Login" and use the action created above. I have not figured out a way to get group mappings from an OIDC "groups" claim though, which is my next stumbling block. I hope someone has figured that out. |
Beta Was this translation helpful? Give feedback.
-
So I've figured out how to dynamically add users to groups from an OIDC custom claim of "groups" using a modified script as a "pre-login hook" as described in #1072. The gist of it is to add a key of
Finally, adjust the
In my example, I automatically add every user created to the group There might be a better way to use Thanks to the original discussion author "shaltz" and drakkan for doing the majority of the work here. Hope this helps someone else. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does sftpgo OIDC integartion automatically create Users in sftpgo?
Also, if the OIDC has groups which can be sent as claims. Can OIDC enabled sftpgo map the groups to this newly created account?
While connecting to sftpgo using standard Winscp, or sftp client, can sftpgo be configured to use OIDC for these connetions?
Beta Was this translation helpful? Give feedback.
All reactions