JasonTypesCodes / mn-jwk-spike

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a spike project for configuring generic JWK token signing and validation based heavily on these two guides:

To run:

  1. Start the signer

    • cd signer

      • To run with pre-configured JWK Keys

        • ./gradlew run -Dmicronaut.environments=jwkkey

      • To run with an auto-generated key:

        • ./gradlew run -Dmicronaut.environments=jwkauto

  2. Start the checker

    • cd signer

    • ./gradlew run

  3. Get a token

    • http :8081/login username=test password=test

  4. Send token to checker

    • http :8080/token_info Authoization:"Bearer your.token.from.above"

About


Languages

Language:Java 100.0%