Reading JWT token claims without a library
Almost everybody who works on web apps knows what JWT (JSON Web Token) is. Let’s see how to read them without a library.
Almost everybody who works on web apps knows what JWT (JSON Web Token) is. Let’s see how to read them without a library.
Last week we found out that in some cases our application is showing redundant data on error - for example stacktrace. To hide such info we can implement custom error handler - this is how!
Exposing service using existing server (and some domain) with nginx and ssh with simple configuration.
Recently I spent some time making improvements around deploying an application. Some of them are bash scripts automating some boring actions. All of them has one common part - should not be run if there are any changes …
Processing resource files to add version from pom.xml seems easy - until it breaks binary files (for example, images). Let’s make sure it works as expected.
Yep, that’s another story of “always check if serialising and de-serialising works as expected”. And some kind of reminder for future-me if I forgot about this! ;-)
AKA make sure that you commit with proper email (and name). One configuration to rule it all :-)
All articles are under CC BY-NC 4.0 license.
Copyright © Kamil Banach ;-)