Skip to main content Skip to complementary content

Obtaining a JWT from Talend STS

Procedure

  1. Start Talend Runtime Container. For more information about how to start the Talend Runtime Container, see Starting Runtime Container.
  2. From a console window, execute the tesb:start-sts command to start Talend STS.
  3. Execute the tesb:switch-sts-jaas command to switch the module used by STS to JAAS.
    You will have Talend STS started on http://localhost:8040/services/SecurityTokenService.
  4. Start a Web browser. In the address bar, enter http://localhost:8040/services/SecurityTokenService/token/jwt.
    You will get the JWT token from Talend STS service:
    <TokenWrapper>eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ0YWRtaW4iLCJqdGkiOiJmNWM5MzdjYy02YTEyLTQ4MTEtYjFhNi1hMThmYjUxZDg2YTQiLCJpc3MiOiJUYWxlbmRFU0JfU1RTSXNzdWVyIiwiaWF0IjoxNzE5NDgzNDk0LCJuYmYiOjE3MTk0ODM0OTQsImV4cCI6MTcxOTQ4NTI5NH0.FqKAAa_QBGvVm7PMwUYEP_-43ts2XP3HAMFxLhiFtFc5h0mYL2qixtWDCdd8TsYJVHzle-4VBMtG5vu9Tz7IGHEvIP3SZHxiZKZYSP-hnUIhNbqxkZaAudKdPEnm0jo2gS663au4eQKfuXAqG-4q_mK4RjQiBexfQCkdByEiThTS8p-XVVe1S6dRi8gbAltSqOdQItFHAft86G2-mvApPt5V1t3uP0QtKdhNzNE4CtJmuVc1dzak8peU3962x7_wDrCuDnuu1owSu46vKCIAvjItQPgiGJQSZeY3jiKWoK5tADE70Iv0WX1PxFJFPsbaNbBD5wB93N2RPxGj91EAvg</TokenWrapper>
  5. Open the https://jwt.io/ website and copy the access token into the Encoded text box.
    You can see the token details.
    If you add the optional query parameter appliesTo=http://127.0.0.1:8090/services/customers to the http://localhost:8040/services/SecurityTokenService/token/jwt endpoint, you will get the Audience value "aud": ["127.0.0.1:8090/services/customers"] in the token Payload. This Audience value will be used in the cREST component as service provider.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!