• Public

API Access Management

Skip Feed
  1. Hi,

    We have an Oauth2 app (OIDC - Web app) and after authenticating with it we are trying to hit this endpoint integrations/api/v1/api-services/ but for some reason we are getting `403 - Forbidden`

    ```json

    {

     "errorCode": "E0000006",

     "errorSummary": "You do not have permission to perform the requested action",

     "errorLink": "E0000006",

     "errorId": "oaejnZ2oM4pQPyWy-buEDEBEA",

     "errorCauses": []

    }

    ```​

     

    1. We are requesting the scope `okta.oauthIntegrations.read` during Oauth2 process
    2. The OAuth2 app has this scope granted
    3. The user who is logging in during the OAuth flow has "Read-Only Administrator" Role
    4. Inspecting the token we got from OAuth I see the scope is there (picture) Screenshot from 2025-10-24 12-40-46

     

    Are we missing something here, or this scope is not working ?

    Expand Post

    1 of 4

    • DianaL.19788 (Customer Support Online Community and Social Care)

      Hello @Ketand.36059 (Customer)​ , thank you for contacting Okta Community!

       

      I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com  as they will have more insight into this topic. 

      In the meantime, you can reference this article from Okta Developer: 

      Authentication API

       

      While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).

       

      Regards. 

      --

      Help others in the community by liking or hitting Select as Best if this response helped you.

      Just released: More Okta Community badges just added

      Expand Post

  2. Hi all, 

    I am trying to do automation for provisioning part in okta (SCIM Oauth 2.0 token) but that is not a public API call is available to do that so I am unable to automate it. 

    Please the insights to automate the provision part for SCIM. 

     

    Needed an public API call to configure the base URL, Oauth Bearer token and import Groups.

     

    Screenshot From 2025-07-24 13-26-41.png


    • paul.stiniguta (Okta, Inc.)

      Hello @ExtremeN.05053 (Customer)​ Thank you for posting on our Community page!

       

      Please see below our SCIM Doc and the requires steps for the setup :

      https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_scim.htm

       

      This question is more appropriate for our dedicated Okta Developer Forum.

      My advice would be to reach out via devforum.okta.com to take advantage of their expertise.

      While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).

       

      Thank you for reaching out to our Community and have a great day!

      --

      Help others in the community by liking or hitting Select as Best if this response helped you.

      Expand Post

  3. I'm working on integrating Okta into a Spring Boot webapp + Angular webapp. I've got the primary login with username/password and code challenge working. That's been fairly easy. However, I've had to use redirects via a URL HTML window change vs. fully utilizing the OAuth2 flow. That has resulted in the webapp's lack of session state. I've followed several of the Spring and JS examples, but I haven't had much luck. I'm trying to utilize the API to close the gap. I have a Service Application in my Okta account and I'm using those credentials to access the Okta API. I'm able to utilize the User API (List All Users, for example), but not the Session API. Is there something I might not be enabling correctly in my Okta Service Application? I have the following grants and token:

     

    okta.myAccount.sessions.manage

    okta.sessions.manage

    okta.sessions.read

     

    My token privilege is:

     

    Privilege / Role

    Super Admin

    Type

    Okta API

     

    I've used curl, Postman, and the Java API clients, but they all fail when I try to access the Session API. Thanks for your help!

    Expand Post

    • DianaL.19788 (Customer Support Online Community and Social Care)

      Hello @BrendanJ.05276 (Customer)​ , thank you for contacting Okta Community!

       

      I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com  as they will have more insight into this topic. 

      In the meantime, you can reference this similar article from Okta Developer: 

      Build a CRUD App with Angular 9 and Spring Boot 2.2

       

      While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).

       

      Regards. 

      --

      Help others in the community by liking or hitting Select as Best if this response helped you.

      Expand Post

  4. Christina.J (Customer Support Online Community and Social Care)

    Did you miss our insightful Ask Me Anything session with Okta product experts on Access Management Policies? Don’t worry—we’ve got you covered!

     

    Our recent Ask Me Anything session on Access Management Policies with Okta's product experts was packed with engaging discussions and valuable insights. Missed it? Don’t worry—we’ve rounded up the top highlights for you! Discover key takeaways on getting started, best practices, use cases, balancing security and user experience, and more. Learn more.


  5. Hi,

    The Okta Expression Language reference says that the language is based on Spring Expression Language.

    In the Spring Expression Language, there is an operator called the "Elvis Operator" `?:` that provides a default value for an expression, if that expression is null or blank. See https://docs.spring.io/spring-framework/reference/core/expressions/language-ref/operator-elvis.html

     

    The Okta documentation doesn't mention this operator at all, and seems like it would quite helpful in situations like this knowledge base article where the Groups.contains() function returns null if no groups match.

     

    Through experimentation, it seems that the Okta Expression Langugage _DOES_ support this operator (at least as a Groups claim expression on an OpenID Connect app)

     

    for example, the guidance offered in that knowledge base article:

    Arrays.isEmpty(Arrays.toCsvString(Groups.startsWith("active_directory","A_SUBSTRING",100))) ?

    Arrays.isEmpty(Arrays.toCsvString(Groups.startsWith("active_directory","APP_B",100))) ? {} : Groups.startsWith("active_directory","APP_B",100) :

    Arrays.isEmpty(Arrays.toCsvString(Groups.startsWith("active_directory","APP_B",100))) ? Groups.startsWith("active_directory","A_SUBSTRING",100) :

    Arrays.flatten(Groups.startsWith("active_directory","APP_B",100),Groups.startsWith("active_directory","A_SUBSTRING",100))

     

    would be far simpler using the Elvis operator as:

    Arrays.flatten(

    Groups.startsWith("active_directory","A_SUBSTRING",100) ?: {},

    Groups.startsWith("active_directory","APP_B",100) ?: {}

    )

     

    Moreover - adding a _third_ group to the original expression would be almost impossible - but quite simple using this operator. And it reduces 7 (possible) Groups.startsWith calls down to 2.

     

    As this elvis operator already works - as a seemingly "undocumented" feature - could it be added to the documentation so that it could be relied upon, please? Also keen to take feedback from other Okta users - does the ?: operator work for you?

     

    Thanks,

    Tony.

    Expand Post

    Mihai N. and JamesR.32208 like this.

    • DianaL.19788 (Customer Support Online Community and Social Care)

      Hello @BrendanJ.05276 (Customer)​ , thank you for contacting Okta Community!

      Okta is exclusively cloud-based and requires internet access.

       

      If you have a paid account, you can suggest a new feature on the Okta Community page by going to the Community→ Ideas tab. Features suggested in our community are reviewed and can be voted on and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and implemented.

      You can find more details here.

       

      Regards. 

      Help others in the community by liking or hitting Select as Best if this response helped you.

      Collect them all. Learn a new skill and earn a new Okta Learning badge.

      Expand Post

End of Feed
8 Chatter Feed Items

Group Details

Details

Description
Information
Member Count
43 Members