# How to set up the initial jwkset\_path in an OpenID Connection in Elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-set-up-the-initial-jwkset-path-in-an-openid-connection-in-elasticsearch/220133>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [February 20, 2020, 8:53am UTC](https://discuss.elastic.co/t/how-to-set-up-the-initial-jwkset-path-in-an-openid-connection-in-elasticsearch/220133 "2020-02-20T08:53:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [February 20, 2020, 2:38pm UTC](https://discuss.elastic.co/t/how-to-set-up-the-initial-jwkset-path-in-an-openid-connection-in-elasticsearch/220133/2 "2020-02-20T14:38:59Z")

</div>

You need to

- Either download that file from your OP(google): the JWKS is referenced in [https://accounts.google.com/.well-known/openid-configuration](https://accounts.google.com/.well-known/openid-configuration) and is [https://www.googleapis.com/oauth2/v3/certs](https://www.googleapis.com/oauth2/v3/certs) . So download and save this locally before you start elasticsearch
- Or point elasticsearch to the url `op.jwkset_path: https://www.googleapis.com/oauth2/v3/certs` and we will handle fetching it for you.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-set-up-the-initial-jwkset-path-in-an-openid-connection-in-elasticsearch/220133)._
