-
Notifications
You must be signed in to change notification settings - Fork 155
Different setting when Stormpath project use Okta api #1349
Comments
Please see our Getting Started with Okta guide on how to make your app work with Okta. This tutorial on our developer blog also shows how to make it work. |
Getting Started with Okta doesn't work anymore for Spring Boot if you follow it to the letter. The Okta UI has changed for one thing, more importantly - see issue #1346. |
After following the tutorial, I make some change in my pom.xml file. I update the version of com.stormpath.spring showed as followed: Then it has errors that happened in my Roles file, the error is "Exception: A granted authority textual representation is required". Here's my code in the Roles file: @component
} I really have no idea how to solve it. |
@weidongdiao Were you able to solve this issue? |
Hi, Matt, Because in Okta API, it just needs three environment variables: stormpath_base_url, okta_api_token and okta_application_id. So I just change "stormpath.authorized.group.admin" to "okta_application_id". So this problem has solved. However, it comes another problem, showed that "Caused by java.lang.UnsupportedOperationException: newIdSiteUrlBuilder() method hasn't been implemented." I have no idea how to solve that. |
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:
Here's my pom.xml file:
com.xxx
xxxx
2.0.0-okta
jar
So how can I solve this problem?
The text was updated successfully, but these errors were encountered: