Questions tagged [okta-api]

API for single sign-on service OKTA

348 questions
11
votes
1 answer

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). The Okta SCIM docs says: Okta also does a PUT if…
Andrii Furmanets
  • 771
  • 2
  • 8
  • 29
9
votes
2 answers

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 appropriately export default { oidc: { …
Krimson
  • 6,306
  • 9
  • 47
  • 86
8
votes
0 answers

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 { withOktaAuth } from '@okta/okta-react' const Welcome =…
Gabriel
  • 406
  • 3
  • 8
8
votes
1 answer

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 for each Auth request, the groups a user is in.…
buddy123
  • 4,657
  • 8
  • 42
  • 65
8
votes
2 answers

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
  • 1,290
  • 3
  • 17
  • 37
7
votes
1 answer

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, the user is redirected to Okta login/SSO. Now,…
tryingToLearn
  • 7,566
  • 8
  • 55
  • 84
7
votes
1 answer

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 should I enter the okta code? Can I bypass okta for…
7
votes
2 answers

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 below…
5
votes
0 answers

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 works but single sign-on, MFA 'do not challenge'…
Matt
  • 3,915
  • 1
  • 15
  • 6
5
votes
3 answers

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 authenticated, then Okta redirects them back to my service.…
danze
  • 557
  • 1
  • 7
  • 21
4
votes
2 answers

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 valid credentials. When testing locally, the…
Thinh Ngo
  • 41
  • 3
4
votes
1 answer

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/03/27/angular-okta-sign-in-widget However, I have…
RPeralta
  • 41
  • 3
4
votes
2 answers

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 validate the token…
dieselcz
  • 163
  • 8
4
votes
1 answer

SAML Single logout through OKTA

I have got the following SP's Request and IDP's reponse:
Jami
  • 517
  • 4
  • 19
4
votes
1 answer

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 profile data you have to provide all the details…
1
2 3
23 24