Kong 0.10.x - JWT authentication get token access -


on kong document: https://getkong.org/plugins/jwt/#create-a-jwt-credential

after step, how can access token?

it's like: eyjhbgcioijiuzi1niisinr5cci6ikpxvcj9.eyjpc3mioijhmzzjmza0owiznji0owezyzlmodg5mwnimti3mjqzyyisimv4cci6mtq0mjqzmda1ncwibmjmijoxndqyndi2ndu0lcjpyxqioje0ndi0mjy0ntr9.ahumfy35gflueejroxiaado7ae6gt_8vlwx7qffhqn4

my issue:

  • user request kong server access_token
  • kong server result access_token
  • user use access_token verify authentication on hosts (ex: kong:8000/products), after verified successfully, kong server points upstream_url (ex: my.api.com/products)

please clear that.

thank much

using values returned api you'll able create token yourself. in order that, can use existing implementation 1 in node.js https://github.com/jwtk/njwt


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -