Questions tagged [okta-api]

API for single sign-on service OKTA

Filter by
Sorted by
Tagged with
17 votes
1 answer
3k views

How to stub a module function with Cypress?

I want to create a test with Cypress that has a React component that uses an auth library (@okta/okta-react) with a HOC (withOktaAuth). My component looks like this: // Welcome.js import { ...
Gabriel's user avatar
  • 594
15 votes
1 answer
6k views

Keycloak: How to auto redirect Keycloak user to OKTA SSO page instead of clicking on button?

I have followed the guide https://ultimatesecurity.pro/post/okta-saml/ , to configure OKTA Saml with keycloak. After this configuration, I see Okta/saml login button on login page, clicking on which, ...
tryingToLearn's user avatar
11 votes
1 answer
1k views

Okta SCIM Deprovisioning via PUT method?

Our backend server doesn't support HTTP PATCH method (only PUT). As the result we cannot properly Unassign User from SCIM app. When I try Unassign User, Okta SCIM seems make PATCH request (not PUT). ...
Andrii Furmanets's user avatar
11 votes
3 answers
6k views

OpenID Okta initiated login `AuthSdkError: Unable to parse a token from the url`

Im follow the react-hosted-login sample project here: https://github.com/okta/samples-js-react/tree/master/okta-hosted-login I created my application in okta like so: I configured the react-sample ...
Krimson's user avatar
  • 7,406
10 votes
1 answer
13k views

Getting list of groups user is associated with in Okta

I'm trying to integrate with Okta SSO by implementing SAML 2.0 in my website as Service Provider (SP) and Okta env. as my Identity Provider (IDP) I can't understand how to configure my IDP to return ...
buddy123's user avatar
  • 5,679
8 votes
3 answers
5k views

Disable CSRF in spring-boot application with OAuth2 SSO

I have a spring-boot service that authenticates users with Okta Platform API using OpenID Connect/OAuth2. When users try to access my service, they are redirected to Okta sign-on page and ...
danze's user avatar
  • 755
8 votes
2 answers
831 views

Create OKTA JIRA login with ruby

I need to authenticate to JIRA using Okta via REST, how can I do that on ruby? It is possible? I never did that before, I just only want to get an attached file from a ticket in JIRA
Marco Herrarte's user avatar
7 votes
2 answers
8k views

How to set up Okta as SAML IDP in AWS Cognito User Pool?

I will want to use Okta as SAML 2.0 based IDP, AWS Cognito as service provider, and Cognito user pool to have federated IDP configuration. I have followed all the steps mentioned in AWS sites listed ...
Martin's user avatar
  • 190
7 votes
1 answer
4k views

Selenium testing : How to bypass okta in selenium

We have recently implemented okta into our application. Whenever the user wants to login it will ask for an okta code which will keep on changing every 30 seconds, but while running selenium how ...
Ravikiran Jakkannavar's user avatar
7 votes
1 answer
1k views

Safari's "Prevent cross-site tracking" breaks several Okta features (due to okta session not being created)

I'm using the okta sign-in widget to authenticate users within our application. The issue is that when 'prevent cross-site tracking' is checked within Safari (FF has a similar setting), login still ...
Matt's user avatar
  • 4,425
6 votes
1 answer
2k views

OKTA Sign-In Widget MFA

I found an tutorial to build an Angular 4 app with OKTA's Sign-in Widget. It is great, I recommend it for anyone who's new to OKTA. You can find it at this URL: https://developer.okta.com/blog/2017/...
RPeralta's user avatar
4 votes
2 answers
3k views

What is Provisioned status in Okta API?

I have been playing around with user lifecycle events against the Okta REST APIs. I'm confused about the various Okta user statuses, specifically STAGED, ACTIVE, and PROVISIONED. I have seen this ...
nettie's user avatar
  • 628
4 votes
1 answer
2k views

Jwt cannot be parsed, Okta

I am trying to set up Okta authentication on my React App. On the client side I am able to authenticate successfully and I get the access token. However when I try to authenticate a backend service ...
fgonzalez's user avatar
  • 3,787
4 votes
2 answers
5k views

Getting "Error: state mismatch, could not find a state in the session" when using Okta OIDC middleware

We're setting up the Okta oidc-middleware for our web app. What works is when we're not logged in, we get redirected to Okta, and then we're redirected back to our callback handler after providing ...
Thinh Ngo's user avatar
4 votes
2 answers
7k views

SAML Single logout through OKTA

I have got the following SP's Request and IDP's reponse: <samlp:LogoutRequest xmlns="urn:oasis:names:tc:SAML:2.0:metadata" Destination="https://dev-nnn.oktapreview.com/app/...
Jami's user avatar
  • 579
4 votes
1 answer
1k views

Updating Okta User profile

I am using Okta C# sdk for development. I have created some custom user profile attributes in the Okta. I am able to create user and save values in custom attributes. But as I saw that when you update ...
Dinesh Rawat's user avatar
4 votes
1 answer
972 views

Changing password after successful login with Okta API

I'm currently building an application that uses Okta for authentication, and I'd like to build a feature that allows users to change their password once they've logged in. Unfortunately, I can't seem ...
STOR1497's user avatar
4 votes
2 answers
1k views

Failing Okta OAuth2 token validation in AspNetCore

I would like to validate a JWT access token from Okta in bearer header on my API, but the validation always fails giving the error below: 2016-12-16 10:12:30.451 +00:00 [Information] Failed to ...
dieselcz's user avatar
  • 433
4 votes
2 answers
3k views

Has anyone integrated Okta with GitLab successfully?

We would like to integrate Gitlab with Okta, any advice on how to get started?
Michael Gill's user avatar
4 votes
2 answers
9k views

okta login Error

Throwing this error for response success but not able to redirect the page how to login and redirect,how to fix this error : error.errorCode: invalid_request, error.description: The '...
Vinodhini R's user avatar
4 votes
0 answers
1k views

Exception when calling Okta authentication

I am trying to use Okta for authentication in my app which doesn't need SSO, just to authenticate the user details against Okta and then go on and check other systems if it fails. The API is a little ...
Don Zacharias's user avatar
3 votes
2 answers
2k views

kid not matching on OAuth 2.0 flow

I'm using Okta for identity management. As the client in authorization flow, I send an authorize request to Okta. This works successfully, and I get a JWT payload. I want to verify the JWT signature, ...
Magua's user avatar
  • 258
3 votes
1 answer
3k views

Okta SignIn Widget with SAML

We have a Single Web Page application developed with Spring Boot + AngularJS, and we want integrate Okta for the authentication part. I have created a developer account on the Okta website, and ...
rmanga7's user avatar
  • 31
3 votes
2 answers
2k views

Exception: Correlation failed. Unknown location with Okta In C#

So I am building a ASP.NET Core 2.2 application and I am trying to implement Okta verify into this system. I have seen that this issue of the "Exception: Correlation failed" has been discussed on many ...
Tihomir Balaban's user avatar
3 votes
1 answer
538 views

OKTA integration with other SSO

I want to integrate OKTA with CAS using SAML2.0 protocol, I want to use OKTA as middle ware, So I will configure my application through OKTA, and then OKTA will communicate with client SSO, For ex: ...
bharatpatel's user avatar
  • 1,203
3 votes
2 answers
818 views

Update Okta profile master by another system errorCode: E0000023

We have an Okta instance that is tied to Active Directory. All users are created in AD and fed into Okta. The profiles are mastered by AD. We had added several custom attributes to the Okta ...
Todd's user avatar
  • 1,461
3 votes
1 answer
624 views

SSO with multiple native application based on access token of one application

I had an application that does authentication of User and store access token generated based on client_id #1 securely. Know in second application I need access token based on client_id#2 without user ...
Roll no1's user avatar
  • 1,315
3 votes
1 answer
5k views

Swagger Authorization with Okta configuration JWT token

I am trying to authorize the swagger api with the okta configuration using ASP.NET core 2.2. Followed the instruction from this link https://app.swaggerhub.com/help/enterprise/user-management/sso/...
San Jaisy's user avatar
  • 15.4k
3 votes
1 answer
2k views

Remember me with OAuth2 in SPA

I know the concept of OAuth2 and OpenID. in our application authentication is happening through OKTA and we receive access-token in a response. Our architecture is a microservice-architecture and we ...
Sanjay's user avatar
  • 1,968
3 votes
2 answers
167 views

How would I implement Okta Authentication in Gentics Mesh?

Gentics Mesh comes with support for Keycloak built-in, but I'd like to use Okta instead. What's best practice? Would it require modifying Mesh source code? Or maybe I should handle ...
Jeremy's user avatar
  • 2,990
3 votes
1 answer
3k views

authenticate to SharePoint through OKTA from back-end service

I have a need to programmatically connect to a customer's SharePoint server that uses OKTA for authentication. I saw this post which looked promising, but cannot seem to get a valid session cookie ...
Mike's user avatar
  • 1,031
3 votes
0 answers
4k views

Even though both are same, Im getting the error: The 'redirect_uri' parameter must be a Login redirect URI in the client app settings

in my okta application settings , LOGIN Login redirect URIs :http://localhost:3000/users/callback & http://localhost:3000/ Logout redirect URIs http://localhost:3000/ and in app.js, onst oidc = ...
Shashank Patwa's user avatar
3 votes
1 answer
323 views

How to add authentication method to already existing Okta to ASP.NET project

I have ASP.NET project with working Okta authentication set up, but I need to allow user to authenticate by another service, which also uses JWT. What are best practises to do it? Okta authentication ...
orlyohreally's user avatar
3 votes
1 answer
3k views

Why am I getting 'E0000022' on Okta OAuth2.0 /api/v1/authorize endpoint?

I am trying to authenticate a user through OKTA API. I am following these steps: make post request to /api/v1/authn providing user and password given this is MFA, I then make another request to the /...
Vini's user avatar
  • 223
3 votes
0 answers
242 views

Access control allow origin is not present in response header

I am using Okta for my flask web services authentication. Trying to consume protected services from Ajax. While doing that I am getting below error: Access to XMLHttpRequest at 'https://org.okta.com/...
user1632980's user avatar
3 votes
1 answer
855 views

Angular 2/5 and SAML authentication via Okta

We are building an Angular 5 app front end application with Node as the back end layer. The API requests to node from angular are authenticated via basic authentication but we are planning to ...
Alice's user avatar
  • 271
3 votes
2 answers
2k views

How do I get a StateToken for basic Authentication through Okta with .net sdk?

I am building an internal Web API(asp.net) and I need to integrate our Okta authentication with it. I have the SDK installed through NuGet and I am able to do simple things like get a User and see ...
Refracted Paladin's user avatar
2 votes
1 answer
3k views

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 ...
Connie DeCinko's user avatar
2 votes
1 answer
1k views

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 ...
Milind Gokhale's user avatar
2 votes
1 answer
3k views

What is this Okta API pagination next value?

I am using Okta for SSO. I want to list all Okta users, but the API has a max limit of 200. So I need to use pagination here. Initial I used the URL {{url}}/api/v1/users?limit=200 Not I got the ...
Raghaven 3534's user avatar
2 votes
1 answer
3k views

OKTA Sso python

Hi I want to access an application that is behind OKTA sso. I am using python requests module for accessing the application. Before Okta I was able to access the application with userid and password ...
Avishek's user avatar
  • 390
2 votes
2 answers
3k views

Python Loop Get Request

I have a list of users in a text file that I am reading into python, [john, mary, bob, alice] I am trying to make an API call to an application to get information about the user profile in that ...
OneFree's user avatar
  • 21
2 votes
1 answer
2k views

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 ...
Roger Johansson's user avatar
2 votes
1 answer
2k views

Okta: How to retrieve Access Token via SessionToken (JavaScript)

Im able to fetch the "sessionToken" via the Okta API, however how am I able to retrieve the AccessToken with the "sessionToken"? I am using the JS SDK: https://github.com/okta/okta-...
yush's user avatar
  • 375
2 votes
2 answers
5k views

How to pass/verify Open ID token between .net core web app and web api?

We have the following architecture: .NET core 3.1 web application using razor pages, jQuery, etc as the UI (not an angular application) .NET core 3.1 web api application serving as our api layer Okta ...
Buckles's user avatar
  • 161
2 votes
1 answer
3k views

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 ...
Elim Garak's user avatar
  • 1,738
2 votes
1 answer
475 views

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 ...
Robin B's user avatar
  • 301
2 votes
1 answer
4k views

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). ...
Jose Ortegano's user avatar
2 votes
1 answer
1k views

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.
John Yossarian's user avatar
2 votes
1 answer
2k views

How do I login to okta without redirecting to the okta website for authentication?

I am using the below code : https://github.com/oktadeveloper/okta-android-example/commit/5d01efe98b9a73937c8eeec92797117ad1f8a72b for testing okta authentication, but it redirects me to the okta ...
user avatar

1
2 3 4 5
9