API for single sign-on service OKTA
Questions tagged [okta-api]
436 questions
17
votes
1 answer
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
- 594
- 5
- 10
15
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
- 10,691
- 12
- 80
- 114
11
votes
3 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
- 7,386
- 11
- 60
- 97
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
- 1,081
- 2
- 12
- 29
10
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
- 5,679
- 10
- 47
- 73
8
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
- 745
- 2
- 10
- 24
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,540
- 5
- 21
- 42
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…

Ravikiran Jakkannavar
- 71
- 1
- 5
7
votes
1 answer
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
- 4,405
- 1
- 17
- 9
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…

Martin
- 190
- 5
- 14
6
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
- 61
- 3
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
- 1
- 3
4
votes
1 answer
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 using OktaJwtVerfier, I get the error message:…

fgonzalez
- 3,787
- 7
- 45
- 79
4
votes
2 answers
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
'redirect_uri' parameter must be an absolute URI that is…

Vinodhini R
- 71
- 1
- 8
4
votes
2 answers
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 diagram:
but it does not fit what I am…

nettie
- 628
- 1
- 11
- 23