Questions tagged [okta-api]

API for single sign-on service OKTA

436 questions
0
votes
2 answers

Okta Secure Web Authentication Session Id

I am trying to use the my app to work with the SWA login method. I created the app and it redirects fine. Looking through the browser console I see okta has set a session id cookie. I know I can not access that cookie so how do I get the session…
Chris
  • 1,299
  • 3
  • 18
  • 34
0
votes
1 answer

Okta validate login on app redirect

We have a spa (Angular 2) that we are trying to integrate with okta. I created an app in okta with SWA sign on method. I click on the app and it redirects me to my spa app as expected. However, I do not see and information being passed on the…
Chris
  • 1,299
  • 3
  • 18
  • 34
0
votes
1 answer

SimpleSAMLPHP Unhandled exception failed to parse xml string

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION Backtrace: 0 C:\xamp\htdocs\okta\simplesamlphp\www\module.php:180 (N/A) Caused by: Exception: Failed to parse XML string. Backtrace: 7…
Ali Ahmed
  • 31
  • 5
0
votes
1 answer

Not able to get access_token

I am using OIDC and okta's /oauth2/v1/authorize API to get the access_token. But it just returns the HTML of the redirect_uri. My API looks like this, `GET…
Ashok
  • 13
  • 8
0
votes
1 answer

User Creation Flow via API

I'm creating a user in 2 parts; firstly without creds and and then when the user clicks on an email link (with code) we then get them to put in the password and recover q&a. I'm then using the APIs to finish and activate the user in this…
martin samm
  • 127
  • 2
  • 7
0
votes
1 answer

okta authentification through python for parsing

My company just implemented a okta authentification to access to the intranet. I used a script to parse some part of the intranet to syntetize some news but since okta authentification has been implemented, I cannot be connected to the intranet. The…
Alexis G
  • 1,259
  • 3
  • 14
  • 27
0
votes
1 answer

stateToken for Change Password with JS widget

We're trying to use the JS widget to enable change password (password's not expired, just changing it). The REST API requires a stateToken but i can't see any way to create/generate a state token. We've got the widget working for other scenarios…
martin samm
  • 127
  • 2
  • 7
0
votes
1 answer

OKTA - Why does the endpoint {{URL}}/api/v1/sessions/me return me different expiresAt value when I hit it again and again?

Why does the endpoint return different expiresAt value when I hit this endpoint {{URL}}/api/v1/sessions/me again and again? Initially,expiresAt showed me something like 12:34:56.When I hit is again in 1 minute time,it gave me 12:34:78.But I didnt…
divya
  • 53
  • 1
  • 9
0
votes
1 answer

Singlelogout not working in okta spring app

I am trying to test springboot-saml singlelogout with Okta . I am facing a error when I hit /saml/logout/ . The Spring log says "Received LogoutResponse has invalid status code " . The Okta app log says "Unable to validate SAML Logout Request:…
Raghavan
  • 883
  • 1
  • 8
  • 19
0
votes
1 answer

Okta Custom Attribute per each application

I have a question, can i have the same Custom Attribute for User Profile, but different value per each application that User have Example: App1 Name:John Test ApplicationRole: Admin App2 Name: John Test ApplicationRole: Cashier or i need to create…
0
votes
1 answer

Are there any differences in implementation between Okta's SAML Java Toolkit and OpenSAML?

I am currently integrating SAML with a custom Java web-app in order to put it behind Okta. I want to use the SAML Java Toolkit that is provided by Okta. There are many examples on the internet of OpenSAML implementations in order for me to get a…
0
votes
1 answer

Can I use the Java SDK for the Okta API to check for the existence of an Okta Session created by a user sign-on?

I am working on putting an internal Java web application behind Okta for authentication. In order to do this I want to use API calls to check for a current Okta Session. The Session API provides methods for validating a session via a sessionToken.…
0
votes
1 answer

What is the difference between startDate and a filter on "published" in the Okta Events API?

I've written a .NET app using the Okta.Core.Client 0.2.9 SDK to pull events from our organization's syslog for import into another system. We've got it running every 5 minutes, pulling events published since the last event received in the previous…
0
votes
1 answer

Configured Sharepoint 2013 on-prem to use Okta SSO but get 'Sorry this site has not been shared with you' error

We have configured Okta as a trusted authentication provider to out SharePoint 2013 On-Premises environment. The user can log into Okta and access the SharePoint 'app' but when it connects them to the homepage, they are met with 'Sorry this site has…
0
votes
1 answer

How to configure and authenticate users again active directory using OKTA?

How to configure and authenticate users again active directory using OKTA. Can you please mention the steps and sample example for same.