Questions tagged [okta-api]

API for single sign-on service OKTA

436 questions
1
vote
0 answers

How do I get an access token from OKTA?

I managed to get a session token, but I believe I need to get an access token instead in order to start querying data from the server. How do I convert this in Java? I believe I'm looking for the /oauth2/default/v1/authorize equivalent in the…
ergonaut
  • 6,929
  • 1
  • 17
  • 47
1
vote
1 answer

Okta authentication, how to use the response.params?

We are trying to use Expo authentication with Okta as stated here: https://docs.expo.dev/guides/authentication/#okta Expo has very good documentation for lot's of stuff, but for the Okta authentication unfortunately we could not sort out how to use…
Mehmet Kaplan
  • 1,723
  • 2
  • 20
  • 43
1
vote
0 answers

Login issue with okta

im using Okta on my React application to login,the issue that i have is that okta authenticates correctly but it doesnt take me to the corresponding landing page,it redirects me to the login page again Im using index.js to add my okta code and…
1
vote
1 answer

Okta bearer token - Service to service

We have a scenario where we have different apps in the backend that needs to do some operation between them. Those apps are registered in the Okta console and have their own workflow. They both allow access to users that authenticate through an…
Mido
  • 73
  • 4
1
vote
0 answers

Have a web api call a request on itself, at startup to "prime the pump" possible?

I'm Talking to Okta support about a first call speed issue on my .net core 3.1 webapi that uses their security. Their answer is to have the webapi, at startup, make a request to itself to force a failed okta authentication to "Prime the pump" before…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
1
vote
1 answer

How to overcome Error when pip installing okta?

I'm working with Python 3.8.9 and I need to use the Okta package. I try to install it as their documentation suggests: pip install okta, but I get this error: ... Failed to build aiohttp yarl multidict frozenlist ERROR: Could not build wheels for…
Xar
  • 7,572
  • 19
  • 56
  • 80
1
vote
0 answers

SCIM2 => Okta provisioning: Is it possible to update attributes with import?

When we initially import users into Okta via our SCIM test app, attributes like name and roles are set correctly in Okta. This appears to be configured here in the "To Okta" provisioning settings: With the list of attributes and action to apply…
Scott Carpenter
  • 1,510
  • 1
  • 12
  • 12
1
vote
0 answers

CORS error with OKTA on Angular application

I am using OKTA in my angular 12 application. I have setup the "Users", "Factors" and "Devices" with the same configuration inside the angular application but the "factors" and "devices" api are giving me CORS error. Users api works correctly. I…
Yogesh
  • 246
  • 1
  • 4
  • 20
1
vote
1 answer

Verifying Access Tokens Generated from Multiple Client IDs with Okta

I have two applications using the same backend. Both frontend applications uses different client IDs. what is the best way to go about verifying access tokens for both frontend applications. Below is the basic structure of what I have. const…
Jam1
  • 629
  • 12
  • 25
1
vote
2 answers

How to Run this API Request Using Python

I am very new to python and API Integration. Can anyone pls tell me how do I run this okta document using python? curl -v -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: SSWS ${api_token}"…
Shu Rahman
  • 634
  • 1
  • 5
  • 15
1
vote
2 answers

Can not read properties of null (reading '0'). React

Can someone please help me on this. I am getting errors while running the below code. I don't know what mistake I am doing. I have put the comment in the line where error is coming. Even a little suggestion would be very helpful. Error is in the…
Shruti sharma
  • 199
  • 6
  • 21
  • 67
1
vote
5 answers

Okta Component giving error at runtime Cannot read properties of undefined (reading '_oktaUserAgent')

I am using OKTA authorization in my project but facing an error at runtime tried googling it but could not find any related solution Here is the error TypeError: Cannot read properties of undefined (reading '_oktaUserAgent') at new…
1
vote
1 answer

Is it ok to use Okta Authentication API to authenticate users connecting to a server?

I have a server application, and the clients communicate with this server with a proprietary protocol which operates on TCP. It is not possible make any change to the existing client applications. Currently the TCP connections are authenticated by…
Lahiru Chandima
  • 22,324
  • 22
  • 103
  • 179
1
vote
1 answer

Okta login page goes to infinite loop after user authentication

like this My Angular app integrated Okta access and user management API. The application backend is hosted in AWS Beanstaik and front end angular app is hosted S3. I checked the network response by chrome dev tools and I got…
1
vote
0 answers

i want to implement SCIM with the help of an idP

i'm working in nestjs/prima/postegre project and i can't find any similair code source ressource, how i can update my prisma schema to fit SCIM models or is there any similar project for inspiration? datasource db { provider = "postgresql" url …