API for single sign-on service OKTA
Questions tagged [okta-api]
436 questions
1
vote
3 answers
Access to XMLHttpRequest at 'xxx/.well-known/openid-configuration' from origin 'xxxx' has been blocked by CORS
I am using the okta oAuth to do the authentication and authorization with angular 8 application. Since getting the 'https://dev-166545.okta.com/oauth2/aus1igd7yewoAs4xa357/.well-known/openid-configuration is causing the issue
I have added the…

San Jaisy
- 15,327
- 34
- 171
- 290
1
vote
2 answers
Is okta supports wildcards in Origin URL to add in the trusted origin?
Is okta supports wildcards in Origin URL to add in the trusted origin ?

vasu
- 11
- 1
1
vote
2 answers
How to set okta configuration dynamically?
Suppose Two different customer having their respective client-id,client-secretkey,okta-domain. Based on my research on okta, I found that these parameters are to be set in application.properties file. How to set these parameter dynamically so that…

Dhanraj
- 1,162
- 4
- 18
- 45
1
vote
2 answers
too_many redirects_ OKTA authentication
I am getting OKTA login Screen but after entering credentials applications goes in an infinite loop to redirect url.
Login URL: http://localhost:9090/
redirect URL: http://localhost/9090/login
OKTA settings:
Error on browser:
Anyone face this…

JavaLearner
- 215
- 3
- 8
1
vote
0 answers
Authenticate to Okta OpenID connect using Rest API
I have created a developer openid connect account in okta and integrated my application to authenticate using Okta. So, as soon as the user login to my application, it redirects it to okta page for authentication.
Now, we want some tasks to be…

SunilS
- 2,030
- 5
- 34
- 62
1
vote
0 answers
HTTPPOST - Unsuccessful in code but successful via Postman
I am sending a JSON request via http post. Backend requires me to send two headers, namely - Authorization and Content-Type. Then a raw JSON request as body. I send the request via Post method via Postman tool and the message gets through…

Aldryl Yakit Medrano
- 53
- 1
- 9
1
vote
0 answers
How to fix 'UnhandledPromiseRejectionWarning'
I'm setting up a login and register page using Okta and Express. I have tried to set up the ExpressOIDC but then I get this error:
`App listening on port 3000
(node:15664) UnhandledPromiseRejectionWarning: RequestError: connect ECONNREFUSED…

Bob
- 11
- 1
1
vote
0 answers
View series of requests in Postman when getting token via OAUTH 2
I am obtaining access token in postman by going to Authorization tab and clicking on Get New Access Token. Below window pops up:
Now after clicking on Request Token, an OKTA window pops up where I enter username and password and am able to obtain…

shiva
- 2,535
- 2
- 18
- 32
1
vote
0 answers
Xamarin.forms : Integrate Okta SSO with ws-federation
In our Xamarin.forms app, we want to support SSO with OKTA. By using link https://developer.okta.com/blog/2018/05/01/add-authentication-xamarin-openid-connect, we were able to implement SSO feature but using "OpenId Connect" (not WS-Federation).
My…

user369182
- 1,995
- 4
- 16
- 17
1
vote
2 answers
SSO with OKTA without creating app on OIN (independent of client id)
We have a web application. We also have a separate customer who already uses Okta to manage his employee's access to various applications. This client wants to use Okta SSO for login to our app.
We created a trial Okta account and integrated a…

Kisslaay
- 41
- 1
- 7
1
vote
1 answer
Is there a way to limit an Okta token authority?
Following these abbreviated steps to generate an Okta token:
Log in to your Developer Console
Navigate to API > Tokens and click Create Token
Give your token a name
works wonderfully, however I'd like to limit the authority of such a token to only…

orirab
- 2,915
- 1
- 24
- 48
1
vote
1 answer
OKTA token for API access
I need a token( or key) to use in API request as bearer token.
The idea is to set it once for user and access resources without login.
I tried to use access_token for it, but max expiration time is 1 day.
So, I need a token:
- With expiration time…

Aram Aslanyan
- 745
- 3
- 11
- 18
1
vote
0 answers
Cookies in .NET core 2.0 with SAML authentication
I am new to SAML and .NET core 2.0 cookie authentication. I am trying to implement SAML 2.0 compliance in a .NET core 2.0 using Okta as an IdP. I have read through a lot of .NET core documentation around authentication but there is no authentication…

Yadu
- 51
- 7
1
vote
0 answers
How login with okta oauth in new heroku app
I am using okta oauth in my express-node js app. When I deploy and run the new app in heroku and go through the login page I am getting 404 status code. For some reason, I’m not able to authenticate the legitime of my third part okta app. However,…

kitsunebrave
- 31
- 7
1
vote
1 answer
okta + .net web api - how to get authenticated user email & name (profile scope data)
My web api server implements the same code as you can see from okta guide :
https://developer.okta.com/quickstart/#/widget/dotnet/aspnet4
public void Configuration(IAppBuilder app)
{
// Configure JWT Bearer middleware
// with an OpenID…

Zakos
- 1,492
- 2
- 22
- 41