Skip to content

Support multiple scopes in is_valid_token

This MR adds support for validating multiple scopes in the igwn_auth_utils.scitokens.is_valid_token() function.

The scope argument now accepts a list, and will automatically separate a space-separated string, and then test all of them. This naivee loop means that all of the other claims are tested multiple times, but this is hopefully not a performance concern.

Merge request reports

Loading