Skip to content

Add support for emitting warnings when tokens fail to load or validate

This MR adds a warn=False keyword argument to the is_valid_token and find_token functions to enable emitting a UserWarning whenever a token fails to load (deserialize) or fails to validate.

This may help users debug why a token isn't being found.

Merge request reports

Loading