Closed skttl closed 1 year ago
Thanks @skttl I'll take a look tomorrow
Thanks @skttl
Sorry that tomorrow was a long wait
Thanks, no worries 🙂
man. d. 19. jun. 2023 22.13 skrev Steve Temple @.***>:
Thanks @skttl https://github.com/skttl
Sorry that tomorrow was a long wait
— Reply to this email directly, view it on GitHub https://github.com/Gibe/Umbraco.Community.AzureSSO/pull/8#issuecomment-1597708837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4NZA6P2ZQN4X22TKD327TXMCXHVANCNFSM6AAAAAAW3UVSYU . You are receiving this because you were mentioned.Message ID: @.***>
I was using this on a project where the client didn't want to assign groups using groups in their AD, so I needed a way to prevent the resetting of groups on each login, and setting one or more default groups for each user.
I've added a few config options for setting this. If you change
SetGroupsOnLogin
to be false, it won't run theSetGroups
method on each login.In addition, I've added a string array of
DefaultGroups
, so you can assign eg. editor to all new users. These groups are assigned in theSetGroups
method.Also, I've added docs about the option to control the icon and style of the login button.