Skip to content

Conversation

@joeljuca
Copy link
Contributor

@joeljuca joeljuca commented Apr 21, 2021

See #12

Update: I see it needs some work since it's catching each and every error, thus breaking some tests. I'll get back to it right when I get some free time over here. :)

Copy link
Owner

@Nickforall Nickforall left a comment

Choose a reason for hiding this comment

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

It indeed raises on every occasion now, including some expected raises, for example when the issuer config is not set.

I think extracting this call and wrapping it in a resuce would suffice

{:jwtheader, JOSE.JWT.peek_protected(token_string)},

@Nickforall
Copy link
Owner

Closing this as stale

@Nickforall Nickforall closed this Jan 4, 2022
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