In order to implement OAuth with Apple, we make a call GET https://appleid.apple.com/auth/keys
.
(According to the documentation in https://docs.developer.pv.apple.com/documentation/signinwithapplerestapi/fetch_apple_s_public_key_for_verifying_token_signature)
The result goes along the lines of:
{
"kty": "RSA",
"kid": "1234567890",
"use": "...",
"alg": "RS256",
"n": "...",
"e": "..."
}
Can I trust that this information will not change without notice? Or should I make this request every time we need to use Apple's public key?