Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Different setting when Stormpath project use Okta api #1349

@weidongdiao

Description

@weidongdiao

When my Stormpath project want to use Okta API, besides changing the version from "0.0.7-SNAPSHOT" to "2.0.0-okta", do I need to make other changes? Because after I change the version and set Okta environment variables, it has error shows like that:

Caused by: java.lang.IllegalStateException: Unable to find an API Key 'id', either from explicit configuration (for example, ApiKeyBuilder.setApiKeyId) or from fallback locations:

  1. system property stormpath.client.apiKey.id
  2. resource file path or URL specified by system property stormpath.client.apiKey.file
  3. resource file path or URL specified by environment variable STORMPATH_API_KEY_FILE
  4. environment variable STORMPATH_API_KEY_ID
  5. default apiKey.properties file location /Users/weidongdiao/.stormpath/apiKey.properties.

Here's my pom.xml file:
com.xxx
xxxx
2.0.0-okta
jar

So how can I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions