Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Installation access tokens

I know you need to generate a JWT token for your Github App in order to get an access token for an installation. However, when you do get an installation access token from

https://api.github.com/app/installations/:installation_id/access_tokens

, is that token returned an OAuth2 access token or a JWT token?

1 Reply
Community Manager
Message 2 of 2

Re: Installation access tokens

Hi @lostinpatterns,

 

Thanks for being here! That is a great question, you'd need to download the key to your local machine. You'll use this key to sign a JSON Web Token (JWT) and encode it using the RS256algorithm. 

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!