If you are using the GoCD, then you do not have to worry about this. The GO-CD will generate a new JWT for you with a new key. If you are using another CD, then you need to make sure that it generates a new JWT for you. The GO-CD is the only CD that supports generating a new JWT for you besides using a custom domain name. If you are using a different CD, then you need to make sure that it generates a new JWT for you.
How do I Generate a New JWT for me?
When using a CD, you need to make sure that the CD generates a new JWT for you. The GO-CD will generate a new JWT for you every time there is a change in your unique ID and key pair. When using other CD's, it might be easier for you to use a custom domain name with your CD to generate the JWT. Here are some steps on how to do that:
1) First, create your custom domain name.
2) Next, create the appropriate server certificate and private key pair for your domain.
3) Create an A record entry for your custom domain name with your server cert/key pair information listed as the hostname of the A record entry.
4) Set up OAuth 2 authentication on your CD application and point it to this URL: https://yourcustomdomain.com/oauth2/callback&scope=openid%20profile%20email" rel="nofollow">https://yourcustomdomain.com/oauth2/authorize?response_type=token&client_id=xxx&redirect_uri=https://yourcustomdomain.com/oauth2/callback&scope=openid%20profile%20email
5) Lastly, set up a callback url on your application similar to this: https://yourcustomdomain.com/oauth2/callback
6) Lastly, set up an authorization URL on your application similar to this: https://yourcustomdomain.com/oauth2/authorize?response_type=token&client_id=xxx&red
Timeline
Published on: 10/17/2022 07:15:00 UTC
Last modified on: 10/20/2022 14:40:00 UTC