Rank 1: Thread
45 chars
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
45 chars
The key should start with -----BEGIN RSA PRIVATE KEY-----
That is the SHA256 hash of the key
Check if you downloaded a file and copy is value
Rank 1: Thread
oh, should i need to pass .pem file path or paste the key
Paste, I think
Rank 1: Thread
sure
Yes just paste the key
Rank 1: Thread
same issue, i have pasted it in "", in multiline
I havne't done that yet in my instance so I'm not sure
Rank 1: Thread
okay, will try again
another thing you should do is uninstall the github app from your account (https://github.com/settings/installations) and try the flow again
Rank 1: Thread
I have done this also, can you please give the demo screenshot how to use private key?
also make sure the callback urls are the same order as mentioned in the docs
_APP_GITHUB_PRIVATE_KEY_OR_WHATEVER="-----BEGIN RSA PRIVATE KEY-----\nanotherline\nanother\n----END RSA KEY or whatever the footer is"
multiline also works...but may get screwed up during upgrades
Rank 1: Thread
sure, trying it
Rank 1: Thread
Not working
Rank 1: Thread
What about the client secert?
Rank 1: Thread
added it, but same issue
I can try it later if ot works I can update you here
Rank 1: Thread
In url it is still showing the error, but finally it fetched the github repos
Rank 1: Thread
thank you @Binyamin @Steven for your time
Rank 1: Thread
I think the ip was creating problem, i have added the server ip to "IP allow list"