Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an OKTA Key manager is throwing errors in carbon log #24

Open
anupbvr opened this issue Apr 17, 2021 · 0 comments
Open

Adding an OKTA Key manager is throwing errors in carbon log #24

anupbvr opened this issue Apr 17, 2021 · 0 comments

Comments

@anupbvr
Copy link

anupbvr commented Apr 17, 2021

Description:
Adding an OKTA Key manager is throwing errors in carbon log

Affected Product Version:
APIM 3.2.0
apim-km-okta - 3.0.5

OS, DB, other environment details and versions:
Windows
Installed using zip.

Steps to reproduce:

  1. Install wso2 apim 3.2.0 using zip.
  2. Enable debug logs for apimgmt.
  3. Start the wso2 apim using bat script.
  4. Go to admin console, add a new Key manager of type OKTA. Input valid required fields.
  5. After add, refer the carbon logs, wso2 reports JSON mal formed errors for following OKTA URLS.

https://dev-************.okta.com/oauth2/default/v1/authorize
https://dev-************.okta.com/oauth2/default/v1/introspect
https://dev-************.okta.com/oauth2/default/v1/keys
https://dev-************.okta.com/
https://dev-************.okta.com/oauth2/default/v1/revoke

TID: [-1234] [api/am/admin] [2021-04-17 12:19:33,946] DEBUG {org.wso2.carbon.apimgt.impl.APIAdminImpl} - Error while parsing element https://dev-************.okta.com/oauth2/default/v1/revoke com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 7 path $

wso2-carbon.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant