Skip to content

Added configurable roles to a user#17

Merged
jthomperoo merged 7 commits intoBusinessSimulations:mainfrom
marijn-rc:main
Feb 24, 2026
Merged

Added configurable roles to a user#17
jthomperoo merged 7 commits intoBusinessSimulations:mainfrom
marijn-rc:main

Conversation

@marijn-rc
Copy link
Contributor

Configuration now takes a list of roles for each user and issues these with the claims. This allows role based authorisation.

I also fixed a type in the documentation which tripped me up when setting up HTTPS.

@marijn-rc
Copy link
Contributor Author

Added CORS configuration as well so swagger can request /.well-known/openid-configuration using ajax.

Copy link
Member

@jthomperoo jthomperoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jthomperoo jthomperoo merged commit 13185fd into BusinessSimulations:main Feb 24, 2026
7 checks passed
@jthomperoo
Copy link
Member

Thanks for the PR! This is now available in 0.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants