Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

can we take users from Okta and create apps in apigee

Currently we are using okta as IDP for our website.

We wanted to expose few of our apis, so that client can invoke them using apikey. to authorise i wanted to use apigee.
Apigee helps to create consumer apps and respective keys. but while creating apps we need to provide the user details present in the apigee, but i wanted to use the existing users in okta.

Any help is appreciated.

Thanks
G N Sharan Sai

Solved Solved
2 5 324
1 ACCEPTED SOLUTION

I was mentioning about
-> Users, who use the apps built by these developers.

Here:
Developer -------------------------------> The persons who are our clients and they are using our apis to build their applications.

how do we authenticate them?

Sorry, again. I am still not clear. Which are you talking about? When you say "how do we authenticate THEM?" - does the THEM refer to Developers? or users?

Developers authenticate to the developer portal. You can use Okta or other IdP here.  From the developer portal experience, the developers provision and obtain app credentials. After downloading credentials, they can build apps that use those credentials to that consume your APIs. 

The apps, at runtime, do not authenticate the developer.  The apps carry credentials that have been inserted by the developer, but there is no authentication of the developer as a user, happening inside the app when the app executes. The developer could be sleeping, or surfing, or at the top of Mount Kilimanjaro with no access to internet. But the app still executes.  There is no authentication of the developer at runtime. The USER may authenticate.  Depending on the design of the app and the APIs, the user may authenticate with Okta, using a 3-legged OAuth flow.  In addition to authenticating the end user, the token dispensary will also validate the app credentials that were obtained by the developer. But that is not the same as authenticating the developer. There is a subtle difference here, I hope you get it.  At that point the app will have an ID token and an access token for the user. 

The example I linked to earlier, shows this. Shows how to embed Apigee into a 3-legged oauth flow for USERS. Have you looked at that example? 

 

View solution in original post

5 REPLIES 5