SIGN IN SIGN UP

Add multiple roles support (#1358)

## Description

- Add `roles` to organization membership resource responses (get, list,
create, update, deactivate, reactivate)
- Add `roleSlugs` parameter to organization membership create and update
options
- Add `roles` support to session authentication and JWT decoding

## Documentation

Does this require changes to the WorkOS Docs? E.g. the [API
Reference](https://workos.com/docs/reference) or code snippets need
updates.

```
[X] Yes
```

Will update the docs for these changes in **ENT-3687**

## Testing

Tested locally against a team with multiple roles enabled. I tested OM
get and update, along with the user management auth flow.
C
Colin Barber committed
a0b2c5597d8e25b536b5dca01d8a1d29b3512b67
Parent: 4aac0b1
Committed by GitHub <noreply@github.com> on 9/18/2025, 1:28:40 PM