Closed lamoboos223 closed 1 year ago
Hey, @lamoboos223.
The "no suitable driver found" error usually happens when the driver is in the wrong place, or there's something wrong with the DB URL syntax.
From your message, it's unclear how you're running Keycloak or if it has access to that mssql-jdbc jar (it should be in the Keycloak lib folder as well, not only your custom provider project).
That will require some troubleshooting on your part. These might help:
Unfortunately, we can only help with questions that are specifically and directly related to the article - not with your own custom application.
StackOverflow is a great place to ask more general questions.
If you can reproduce the issue on our codebase, please create a pull request with this, and we’ll look into it.
Hi in this project i tried to create storage provider like what you did: https://github.com/Baeldung/spring-security-oauth/tree/master/oauth-rest/keycloak-custom-providers
i added the sql server dependency in POM
but i get this error when invoking the storage provider:
please advise. I don't think that keycloak is seeing the sql server jar.