question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add optional field to mark token as suspicious

See original GitHub issue

The end goal is to have an optional boolean field called suspicious which will mark the token as suspicious. This will be tracked with the git commit but will be used in (hopefully) good faith to mark tokens that are not the official ones as suspicious - such as fake governance tokens.

See https://twitter.com/sniko_/status/1279874748546154499 for more information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
409Hcommented, Jul 7, 2020

LGTM! Perhaps also adding a (string) comment field within that object too to give some context without relying on a url that may decay

0reactions
ligicommented, Jul 9, 2020

ok - did it this way - just change to red_flags for consistency with the other fields

Read more comments on GitHub >

github_iconTop Results From Across the Web

Provide optional claims to Azure AD apps - Microsoft Entra
You can use optional claims to: Select additional claims to include in tokens for your application. Change the behavior of certain claims that ......
Read more >
Invalidating JSON Web Tokens - Stack Overflow
Add the token version field to the user record. Add the value in this field to the claims stored in the JWT. Increment...
Read more >
How to mark required (and optional) fields in a form where ...
The obvious answer would be to use an asterisk to mark the required fields, yet it seems problematic to me since the read-only...
Read more >
The Question Mark Makes the Preceding Token Optional
You can make several tokens optional by grouping them together using parentheses, and placing the question mark after the closing parenthesis. E.g.: Nov(ember)?...
Read more >
Optional Field Setting Throws Parsing Exception for Variables ...
The offer can be set to valid/invalid states by passing various values in offer request(some optional fields). The security token can be invalid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found