GithubHelp home page GithubHelp logo

tom-smith-okta / okta-api-center Goto Github PK

View Code? Open in Web Editor NEW
73.0 73.0 37.0 136 KB

Get up and running quickly with Okta's OAuth as a Service and your favorite API Gateway.

RAML 18.37% JavaScript 26.16% HTML 55.48%
api-gateway api-okta apigee identity-provider kong mulesoft oauth oauth-server okta okta-api tyk

okta-api-center's People

Contributors

coopr avatar noinarisak avatar sedkis avatar stevenmccullar-okta avatar tom-smith-okta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

okta-api-center's Issues

Cannot find module 'request'

Got the following errors when trying to build the app:

Error: Cannot find module 'request'
Require stack:
- C:\okta-api-center-master\routes.js
- C:\okta-api-center-master\app.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\okta-api-center-master\routes.js:8:15)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\okta-api-center-master\\routes.js',
    'C:\\okta-api-center-master\\app.js'
  ]
} 

Was able to work around this by adding the following dependency to packages.json:

    "request": "^2.88.2"

Programmatic access?

I understand this obtains an access token from the OIDC handshake, which is then used as a bearer token to query the API.

If I wanted to query the API directly programmatically, not from web app, but from a batch job for example, how can I obtain an access token in that case?

thanks

Doesn't this require the "API Access Management" add-on package?

The tutorial involves setting up custom authorization servers, but last I checked that's not a feature included by default in a lot of Okta subscriptions. It's part of the "API Access Management" package (see the banner at the top here: https://developer.okta.com/docs/concepts/auth-servers/)

If this is indeed the case, please add a warning or disclaimer to the guide. As a new user, it's very frustrating to spending hours looking for buttons that don't exist in the Okta UI.

If there is a way to do this tutorial (or at least to the extent of not implementing scoped access) without needing to buy extra add-on products, please let me know.

Check group

Hello, our API Gateway is working with OKTA, but we do not know where can we check OKTA GROUPS. For example if the user has "group1" they will authorize, if not have group unauthorized.

schema violation (route_id: unknown field)

HI, I am following instructions given in readme. When I reach to step to add plugin to route using given command

curl -i -X POST \
  --url http://localhost:8001/services/solar-system/plugins/ \
  --data 'name=openid-connect' \
  --data 'route_id=85533238-8e8f-453c-ab9c-eaca583c5685' \
  --data 'config.issuer=https://dev-840080.oktapreview.com/oauth2/axxn3xxxxxxxftl0h7' \
  --data 'config.client_id=0oxxxxxxxxxxxx40h7' \
  --data 'config.ssl_verify=false' \
  --data 'config.cache_ttl=60' \
  --data 'config.scopes_required=http://myapp.com/scp/silver' \
  --data 'config.scopes_claim=scp'

It throws following exception:

HTTP/1.1 400 Bad Request
Date: Wed, 21 Aug 2019 05:20:13 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
X-Kong-Admin-Request-ID: ZEsssptj2RKW1h2jfsZBOLUKFyDJY7M8
Server: kong/0.36-enterprise-edition
Content-Length: 129

{"message":"schema violation (route_id: unknown field)","name":"schema violation","fields":{"route_id":"unknown field"},"code":2}

I am suspecting something has changed in recent kong version. If anyone have an idea, what is going wrong, please guide me>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.