If you have not read the Azure AD docs at our launchpad-docs repo, please read that before reading this article.
Below are some common sources of errors with the files used in setting up the Azure AD integration with Stardog Launchpad.
jwt.yaml
- Including the
signer
key- Our OAuth documentation includes a
signer
key, but you do not need it when using Azure AD with Launchpad.
- Our OAuth documentation includes a
keyUrl
not being resolvable- Ensure the
jwks.json
file that yourkeyUrl
points to is resolvable by Stardog. If it is not resolvable, your stardog.log file will contain the error messageFailed verify the JWT: Failed to get key with kid [key ID]
.- This message will only show up if you have the following entry in your
log4j2.xml
file, which can be found in your STARDOG_HOME directory:<Logger name="com.complexible.stardog.security.token" level="DEBUG" additivity="false"> <AppenderRef ref="stardogAppened"/> </Logger>
If you see this error message, you have two options:
Set
K8S_DEPLOYMENT=true
in your Launchpad .env file.Try putting your
jwks.json
file directly in your STARDOG_HOME directory. Then edit yourjwt.yaml
file such that thekeyUrl
entry is as follows:keyUrl: file:///path/to/stardog_home/jwks.json
Note this method is insecure and is not intended for production.
If you're using Kubernetes, you'll edit your
values.yaml
file instead of yourjwt.yaml
file. You can see an example of which line to edit in our helm charts here.
- This message will only show up if you have the following entry in your
- Ensure the
.env
- Ensure the certificate bundle that
STARDOG_SERVER_CERT_PATH
points to has the Stardog server's certificate and all of the certificates in the chain to the root certificate.- read more about
STARDOG_SERVER_CERT_PATH
here
- read more about
- Ensure
/jwk
(the value ofJWK_LOCATION
) is properly mounted on your Docker container.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article