Gets a JS object which contains the decoded body of the JWT. For now I am pasting this in to postman tests when I need to get JWT decoding
#Important Does not validate the token at all!
| #!/bin/sh | |
| # | |
| # This script deploys the given manifest, | |
| # tracks the deployment, and rolls back on failure. | |
| # | |
| # First execute this with "myapp.yaml" and then try it with "myapp.failing.yaml" | |
| # | |
| MANIFEST_PATH=$1 | |
| DEPLOYMENT_NAME=myapp |
| package io.github.sandornemeth.spring; | |
| import java.util.Arrays; | |
| import java.util.stream.StreamSupport; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.context.event.ContextRefreshedEvent; | |
| import org.springframework.context.event.EventListener; | |
| import org.springframework.core.env.AbstractEnvironment; |
Gets a JS object which contains the decoded body of the JWT. For now I am pasting this in to postman tests when I need to get JWT decoding
#Important Does not validate the token at all!
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |