Validate Token Service - Ulbora/GoAuth2 GitHub Wiki
Validate JWT Token from inside microservices
Method: POST
URL: http://localhost:3000/rs/token/validate
Request headers Example:
Content-Type = application/json
Request Body Example:
{
"userId":null,
"clientId": 10,
"role":"superAdmin",
"url":"/ulbora/rs/client/update",
"scope":null,
"accessToken":"eNrUWduOo0YQ/aKsuJhd8ThjDO4WlwVMc3mJTDNjA43HCTtg+PqoGSZypKw0FEmP9r26qTpVdepU8zTgc27R0isxikYkuyVq0SXQ6BZ9RfU1IVusf3kasJ8mrM0Vs0bV9Rtq2EgHblB0fkKko4FKe4vHIkb8oiq3GMsvwXOqYpZZ5LWw2DnfO9zmXMQ+t9nnkikX1mmwG7fLQ9Sihmz4R51DpHoHf+MYJ9kL+/IYmxKqXm7ugWquQVWnirTnsC8LS/8zi7XoKXlkqHop09itssQdUdmXqXK7ZrEmhfxb1a63t/hCG/O14EE1bnuMyWth6hVtSM3tjrHZ0oEHjrvcIiSq2Yiqa/40YGOOJcyVGwuj6b7B2/Zl1OhtFqKv6OLK1CKDHwc/jvGGx/h+5jG3bl2hkJoQjOezkmdELapnH3Zmm1u6msUBieq69ErUFfGtzFV8tlU82spst9VlagXnworu78fBhNejbu/b0p9jnvyK2I5j5lSnFjEeU8QxH4vkkdHarPOYvXKc3s/48a3N1YJlJgnD+SzH+mexcLxtlbRpow9pqA900GWqkMFWXZYmuDpu0V2Msy97qf0f8JSd6gGC5yVLfHFYHpx+AZYDx8ZWClYIxXEHwfGcWQJxNE7KAhxnHvI7qpAzbdyX+/vnuPvn8Pbt77jNqf/nGNDG3uIJX343VUmfJfgxs+RrXqKfYMXms77Kc/GvsfDclLqcW7ijza6jF6d75ytbCVhuESkLBeZ9XJB3dcpbl1mkzZKAicMzGlwAnhMm5A0PWzHrTFw/SZ5Bf4F+otpijhfLS5JnnBbUJxmzBHVF8linQuvT3zigfr9dqSpyDu2k5fx5Z5fgazTh8kkYhx/HuEhcRku9zuIbE6qbDkiGzKhP4NSbWwJqln/DMkXO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