Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228603

Key hash for Facebook not working?

$
0
0

I created my Key Store from the above command and then retrieved the Key Hash from it by doing;

keytool -exportcert -alias my-key -keystore my-key.keystore | openssl sha1 -binary | openssl base64

I then copied that Key Hash text into my Facebook App settings. Afterwards I edited the "release-signing.properties" to point to the Key Store file created just before, then ran the "ionic run android --release" command which still gave me the error on facebooks authentication of an invalid Key Hash stored.

EDIT: I found the solution. I was using Google's OpenSSL that seemed to keep giving me a different hash. I came across a StackOverflow thread and read the last comment which seemed to indicate this, and that the solution was to download OpenSSL from here, which solved my problem.

Thanks for the help in the meantime!


Viewing all articles
Browse latest Browse all 228603

Trending Articles