*What*
* Implement the function. It should be similar to the Android implementation * It should have unit tests * The example app should be updated to allow verify the implementation
One thing needs to be aware is that Note: Keycloak is using RSA to sign the JWT tokens so we must use this algorithm when verifying . So in order There doesn't seem to verify them, be a library that supports parsing of JWKs so we need to using something that supports RSA as well do this ourselves . But it looks like most We can get the public key by making a request to the `jwksUrl` endpoint and using the modulus and exponent of the swift libs don't support RSA JWK in the response . Only An example of generating the one in Objective-c supports it: public key using modulus and exponent is described [here| https:// github stackoverflow .com/ yourkarma questions / JWT. So we might have to use it. 29669858/generate-rsa-public-key-from-modulus-and-exponent] |
|