Questions tagged [okta-api]

API for single sign-on service OKTA

436 questions
1
vote
1 answer

How to setup OKTA device Authorization Flow on server in order to integrate OKTA SSO for Remote IOT devices

I need to authorize the IOT devices that do not have a UI but are able to call some APIs after being authorized by OKTA. I have the list of devices that needs to be authenticated for calling APIs. So I went through the device code flow…
SaadurRehman
  • 622
  • 8
  • 20
1
vote
1 answer

Unable to get response of OKTA's ListUsers with Search API via okta-sdk-nodejs Client's listUsers method

Code snippet: async getUsersByEmail(value) { try { return await Promise.all([ oktaClient.listUsers({ search: value, }), ]).then((values) => { console.log(values); }); } catch (e) { …
1
vote
0 answers

Why is the word 'Bearer' getting dropped from my HTTP Authorization Header

I'm implementing OAuth2 in an existing Angular 6 application using okta-angular package. I'm running into an issue where the word 'Bearer' is getting removed from or not reaching the Authorization request header in any HTTP calls. This results in…
1
vote
1 answer

How to fix the issue: Parameter 0 of constructor in LoginController required a bean of type 'OktaOAuth2Properties' that could not be found

I've followed tutorial to add social login to Spring Boot app using Java 11. The issue I've encountered was: *************************** APPLICATION FAILED TO START *************************** Description: Parameter 0 of constructor in…
invzbl3
  • 5,872
  • 9
  • 36
  • 76
1
vote
2 answers

How to get refresh_token in Okta using SPA or web app

I'm using the okta-auth-js with SPA and I want to retrieve the refresh token. My config is the following: okta: { issuer: 'https://myIssuer/oauth2/default', clientId: '0oahHMKdu3BlV0x1hdoa7lV0', redirectUri:…
Hakim
  • 434
  • 7
  • 21
1
vote
1 answer

Malformed mfa_token message when trying to challenge an user with MFA

I am developing an iPhone application to demonstrate the MFA using sms factor with MFA APIs for POC. I am using the authorisation flow for getting my access token (where I get a authorisation code and redeem it for an access token)earlier to MFA…
1
vote
1 answer

how to do Okta SSO Integration with SpringBoot app? and all user management would be on Okta's Side

I would like some help please, Trying to implement okta sso with some specifications with my app. If I want to add the ability to SSO with OKTA to an already existing Application, Without creating new users in the database from my side, So the whole…
1
vote
0 answers

OKTA Invalid Scope issue s

I am trying to use OKTa for APP to APP authentication inside a SpringBoot Application and I get the below Scope issues , org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request:…
Susheel Rao
  • 79
  • 1
  • 7
1
vote
0 answers

Okta API calls are unauthorized when using react SDK

I am using OKTA for user management and I am having an issue getting user information back. I have followed the documentation, I have CORS set correctly, enabled app permissions, etc. If I test using postman I get the data back without a problem.…
Dallas Baker
  • 368
  • 1
  • 10
1
vote
2 answers

Can Okta scopes be defined for users or groups

I want to use Okta for authorization and authentication. I will create an Authorization Server which will authenticate people through an IDP. From what I've read, the authorization server can have custom scopes and scopes are supposed to be the…
CodeMonkey
  • 11,196
  • 30
  • 112
  • 203
1
vote
0 answers

Okta authorization server using custom domain issues

My company is using Okta Developer Edition and we have an existing integration that uses the default Authorization Server. It’s configured like so (orgid redacted): Name: default Audience: api://default Issuer URI:…
Ergin
  • 9,254
  • 1
  • 19
  • 28
1
vote
1 answer

Okta - Bulk Import New Users With Default Password Via CVS

Is there a way to bulk import new users into Okta and have all their passwords be default set. Example upload 50 users with first name, last name, email, salesforce id, and a default password of 123QWEasd! I read this…
RooksStrife
  • 1,647
  • 3
  • 22
  • 54
1
vote
0 answers

How to access Zendesk APIs when authenticated by SAML from OKTA?

I'm Using OKTA for Authenticating my users. Zendesk is one of the application connected to my OKTA user base, So, Once I log into my application (custom React JS based) by OKTA, I can directly jump to Zendesk (as a logged in user). Is there any…
Raghav Mishra
  • 429
  • 6
  • 15
1
vote
1 answer

Change ReactJS Okta Authentication from OAuth 2.0 to SAML 2.0

I have my ReactJs application and I'm authenticating the users using Okta React SDK (https://github.com/okta/okta-react). This SDK is using OpenID and OAuth 2.0 to authenticate users. Now, I want to change the authentication flow from (OAuth 2.0) to…
Adil Zahid
  • 11
  • 4
1
vote
0 answers

Nodejs application with okta authentication throwing 'X-Frame-Options' to 'sameorigin' error and state mismatch errors

I have a nodejs application. On trying to log in, I am getting this error. dev-xxxxx-okta refused to connect. The error in the log is: Refused to display…