If I select JWT, the options presented are as follows:
- Issuer
- Token Valid for (duration selection)
- JWT Signing Certificate
UNAUTHENTICATED: JWT validation failed: Could not find matching key in public key set for kid=endpoints_spike
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/538a6584-ef87-4c49-9d18-3841cbb294c0%40googlegroups.com.
Well, the rest of the config is correct! I generated SA keys repeatedly until one started with a letter, and it works. :)On Sat, 15 Feb 2020 at 22:21, Adam Sherman <ad...@sherman.ca> wrote:I've setup authentication in salesforce with the following parameters:On Saturday, 15 February 2020 15:36:58 UTC-5, Adam Sherman wrote:If I select JWT, the options presented are as follows:
- Issuer
The SA email.
- Named Principal Subject
The SA email again.
- Audiences
- Token Valid for (duration selection)
1 hour
- JWT Signing Certificate
The certificate downloaded from the SA.Now I get this error:
UNAUTHENTICATED: JWT validation failed: Could not find matching key in public key set for kid=endpoints_spikeWhere endpoints_spike is actually the name assigned to the certificate & key in Salesforce. So that must mean it needs to match the key ID for the SA, but Salesforce validates the field with this note: "The Unique Name field can only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores." Any suggestions for how to deal with this restriction?Thanks,A.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/538a6584-ef87-4c49-9d18-3841cbb294c0%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/538a6584-ef87-4c49-9d18-3841cbb294c0%40googlegroups.com.
--Adam Sherman
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/3dd8b23a-9825-48a5-bc5e-2b5554acdf20%40googlegroups.com.
Is there any way to force a compatible key ID?
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/538a6584-ef87-4c49-9d18-3841cbb294c0%40googlegroups.com.
--Adam Sherman
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.