Questions tagged [okta-api]

API for single sign-on service OKTA

436 questions
2
votes
1 answer

Display content based on group membership - OKTA + ReactJS

I'm using Okta for user authentication of my SPA (+ Express backend). How can I use the Okta API to show/hide content based on group membership? e.g. if I want to show some menu items if the active user is a member of a specific group. Is there…
Roger Johansson
  • 22,764
  • 18
  • 97
  • 193
2
votes
0 answers

Okta-Signin-widget no callback happening

I'm trying to integrate the okta-signin-widget into my react app but I can't get it working properly. My widget config looks like this... export const OktaSignInWidget = new OktaSignIn({ baseUrl: `https://${OktaDomain}.com`, clientId:…
John
  • 1,808
  • 7
  • 28
  • 57
2
votes
1 answer

How to pass info from SAML response received in Web API to Angular App and load page

I have implemented SAML support to the backend which is a WebAPI after OKTA authentication. Now problem is how to establish connection with AngularJS app when the triggering point is browser which directly send response to a WebAPI…
CuriousBuddy
  • 179
  • 1
  • 8
  • 21
2
votes
1 answer

Okta Sign In Widget redirect back to original page after login

I've been trying to find code examples that show how to redirect the user back to their original page after logging in via the Okta Sign In widget. If a user is sitting on a SAML enabled app and clicks login, they are redirected to the a page that…
Connie DeCinko
  • 996
  • 5
  • 19
  • 39
2
votes
1 answer

OKTA - OAuthError: Illegal value for redirect_uri parameter

I am working in my Developer Account in OKTA. I am trying to get a Very Simple SPA App to obtain a JWT From OKTA. I login with authClient.signIn({}) and that returns a transaction.sessionToken/ With that Session Token I should be able to call…
Elim Garak
  • 1,728
  • 1
  • 16
  • 21
2
votes
1 answer

Is there a way in OKTA APIs to get users based on a list of userIds?

Is there a way in OKTA APIs to get users based on a list of userIds? Using "search" feature we can search for users whose firstName or lastName or email starts with some value. However if the use-case is something like searching for users whose id…
Milind Gokhale
  • 575
  • 2
  • 14
2
votes
1 answer

How to link a logged in user to a Facebook Identity provider in Okta

I'm currently working on a project where we want to connect facebook profiles to existing (and logged in) Okta users. The website is made in ASP.NET using Sitecore 6.5. We use the "Authorize URL" to do our login and account linking with redirect…
Robin B
  • 301
  • 1
  • 4
2
votes
1 answer

How to integrate Okta SignIn widget and SAML SSO with a Angularjs SPA?

I've been trying to implement Okta SSO using SAML with my AngularJS SPA (using the Okta Sign-in widget) with no success. The widget works OK by itself (without the SAML integration, just the widget). I'm able to authenticate my user's credentials,…
Jose Ortegano
  • 41
  • 1
  • 2
2
votes
2 answers

Okta sessions/me returning 404 when called from Javascript (Redux)

I am trying to get the current session Object from Okta using the sessions/me endpoint called from Javascript (Redux action), but I get a not found response, even when I have an active session. It's not CORS related, I enabled CORS for my domain.…
sonia
  • 21
  • 1
  • 2
2
votes
1 answer

Okta custom attributes on the user profile

I've added a custom profile attribute via the Okta admin screen called ABC_permissions. This string value has a Json payload which is almost 1Meg in size. When I call the API via the full url in a browser https......./users/test1@axxx.com I see…
Ivan Sager
  • 175
  • 1
  • 2
  • 12
2
votes
0 answers

okta performance for authentication

I’m experiencing poor performance on user authentication, and would like suggestions to try to improve it. I’m using Drupal integrated to a third party system that runs on the Salesforce.com (SFDC) platform. Okta is doing the SSO for these. AD is…
C.go
  • 21
  • 1
2
votes
0 answers

Implementing SSO using Okta

I have a MVC web application that needs to be authenticated against Okta (the users will be stored in Okta). I have some third party applications to which my customers will navigate through their links in my website. The customers, once they are…
Thomas
  • 1,970
  • 4
  • 28
  • 59
2
votes
1 answer

Add Okta user to Okta group Python sdk

Is there a method to add a user to an Okta group? I see update_group, but nothing specific on how to add a user to an Okta group.
1
vote
0 answers

How to filter Okta Applications by profile via Okta SDK or Okta API

I would like to know how can I filter Okta Applications by Profile value. Lets say my Application JSON looks like this: { "name": "oidc_client", "label": "Sample Client profile", "signOnMode": "OPENID_CONNECT", "credentials": { …
fereshteh rabet
  • 198
  • 1
  • 2
  • 11
1
vote
0 answers

Variable in Python being deleted after object being deleted?

I’m new in Python. Maybe someone more experienced than me can help me. I’m trying to delete a user from Okta using an API call. In order to delete a user from Okta you need to do the same DELETE request twice. The first one disables the account and…
Alvaro
  • 11
  • 3