-
Notifications
You must be signed in to change notification settings - Fork 73
Light-OAuth2 issue #320
Description
Hi,
i am unable to test , followed these two links
mariadb compose https://doc.networknt.com/tutorial/oauth/start/
try to registre client: https://doc.networknt.com/tutorial/oauth/client/
Mariadb 10.3
networknt/oauth2-XXX : 2.0.19
Client Error:
=======
[admin@centos8 ~]$ curl -k -H "Content-Type: application/json" \
-X POST -d '{"clientType":"public","clientProfile":"mobile","clientName":"AccountViewer","clientDesc":"Retail Online Banking Account Viewer","scope":"act.r act.w","redirectUri": "http://localhost:8080/authorization","ownerId":"admin"}' https://localhost:6884/oauth2/client
{"statusCode":500,"code":"ERR10010","message":"RUNTIME_EXCEPTION","description":"Unexpected runtime exception","severity":"ERROR"}[admin@centos8 ~]$
Server Error
========
oauth2-client_1 | 22:09:34.459 [XNIO-1 task-1] lvfFJgRcSQWRcusNh4Z76Q ERROR c.n.exception.ExceptionHandler handleRequest - Exception:
oauth2-client_1 | java.lang.RuntimeException: java.sql.SQLException: Trying to connect with ssl, but ssl not enabled in the server
oauth2-client_1 | at com.networknt.oauth.cache.ClientMapStore.load(ClientMapStore.java:118)
oauth2-client_1 | at com.networknt.oauth.cache.ClientMapStore.load(ClientMapStore.java:19)
oauth2-client_1 | at com.hazelcast.map.impl.MapStoreWrapper.load(MapStoreWrapper.java:165)
oauth2-client_1 | at com.hazelcast.map.impl.mapstore.writethrough.WriteThroughStore.load(WriteTh