Questions tagged [okta]
Identity and mobility management.
1,672
questions
0
votes
0
answers
23
views
Can OKTA be used as IDP for Salesforce API access (machine to machine)
Full disclosure, I'm not an expert in OKTA, IDP technologies, or Salesforce API security configuration.
I'm working with a client that wants to secure Salesforce APIs via OKTA. They are currently ...
1
vote
1
answer
20
views
How to store username in a session variable in marklogic sjs
We have an application running on Marklogic Server side Javascript.
We want to store the username in a session variable throughout the logged in session. What is the best approach for this?
0
votes
0
answers
21
views
How does okta verify codes work without internet?
We use okta verify for MFA. I am attempting to login to okta enabled website in laptop. To get a push notification to approve, I need internet in my mobile device with okta app. But there is an option ...
-1
votes
0
answers
19
views
Python Flask Application Okta Callback `AttributeError` No `login_manager`
I am trying to get a Flask application using Blueprints working with okta MFA, Blueprint, and flask-login. I follow the example okta application, it was working fine while testing without flask-login, ...
0
votes
0
answers
10
views
Okta SAML2 Single Logout issue
ITfoxtec SAML 2.0 - Single Logout
I have Okta as IdP and one SP setup. SSO works great between them. Single Logout does not work for me. I got the 403 unauthorized error
SingleLogout ...
0
votes
1
answer
48
views
Is a Secure Oauth2 Web App Flow with FE and BE the right approach?
We have a Web Application that mints an internal JWT used for authentication along with a secure cookie. As the organization has been moving to Okta there is an ask to integrate that login flow into ...
0
votes
0
answers
37
views
Create a jwt token in C# with public private key of Okta
I've successfully set up an application on the Okta portal, configured it to use the "Client Credentials" OAuth 2.0 grant type, and obtained a public-private key pair. I'm currently trying ...
0
votes
0
answers
15
views
Sustainsys SAML2 not signing in after first successful user sign in
We're using Sustainsys's SAML2 component (the OWIN one) to integrate with Okta.
(These are older apps and we were previously using the Kentor HttpModule for authentication but have needed to upgrade ...
1
vote
0
answers
37
views
ASP.NET Core MVC : Okta integration
I'm creating an ASP.NET Core MVC application which uses Okta for authentication. I'm experiencing a very strange issue. My Okta sandbox works great, but when I switch to my Okta Production I get the ...
1
vote
1
answer
42
views
ASP.NET Core MVC not working when published to IIS, particularly Okta integration
ASP.NET Core MVC web application that I'm trying to publish and deploy to IIS. My application uses Okta as a authorization. It works perfectly when run from VS code but when I publish it and create ...
0
votes
0
answers
20
views
How to add OKTA authentication to R Shiny web application?
I have created a Shiny dashboard as a web application. Now I want to add OKTA authentication to login to this Shiny dashboard.
-1
votes
0
answers
19
views
Is there a way for spring security expressions to get the principal (as DefaultOidcUser) claims?
So the work I am doing is it having two authentication style (OKTA and AUTH0). Currently using OKTA but we need to make it work for AUTH0.
There are a lot of @PreAuthorize("HasAuthority and ...
0
votes
2
answers
123
views
Using OKTA - CORS Error After Upgrading to Spring Boot 3 - CORS header ‘Access-Control-Allow-Origin’ missing
I have an application with Vue.js in the front end and Spring Boot for the back end. We use OKTA for security. This has been working great with Java 11 and Spring Boot 2.1.8.
The Spring Boot REST ...
0
votes
0
answers
26
views
OKTA Auth: Full app (auth page) launches within the widget page before Okta authentication
In some cases, during authentication in the Okta widget window, the application's authentication page briefly appears, followed by the Okta authentication widget itself. This can be reproduced by ...
1
vote
1
answer
27
views
Is ITFoxTec.Identity.Saml2 library Support Signing of both SAML Responses and Assertions?
I am using okta as my IDP, when i am trying to signed both response and assertion signatures at the same time i observed its not supporting. If ITFoxTec library supports signing of both SAML responses ...
-1
votes
1
answer
45
views
Validate okta access token in Spring boot Spring security
I am trying to validate the okta token in spring-security which I am getting from the UI. From okta website I got the below config to validate the tokens
AccessTokenVerifier jwtVerifier = ...
0
votes
0
answers
9
views
NiFi InvokeHttp response header: multiple entries with same name (from Okta)
System: NiFi 1.19, Java 11
The Okta API has a paging mechanism, that sends the link for "next page" in the response header fiels "link":
But: here are two lines with the same name ...
0
votes
1
answer
20
views
Okta SSO Integration for A Custom OIDC App
We are looking to set up our application to support Okta SSO.
The steps we've taken so far:
signed up for Okta developer account and created an app and an org
integrated our frontend react app with ...
0
votes
0
answers
14
views
OKTA application report
I need your help. I'm new to the Okta world, and I have a question: how can I pull the report from Okta of those applications that are using sign-on policies for their apps? How can I pull the report ...
-2
votes
0
answers
17
views
Okta application admin assign with Terraform
We are using the Okta provider with Terraform to define our Okta configuration. However, we are unable to assign an admin role to an application except by doing it manually via the web console. Is it ...
0
votes
0
answers
19
views
how to clear okta user token
Our site uses okta for authentication. The user goes to the login page and enters their username & password. Then it uses the /api/v1/authn endpoint to authenticate them. If okta returns "...
0
votes
0
answers
21
views
Can't find Self-Service Registration in OKTA
I am attempting to locate the Self-Service Registration option within the Okta dashboard. Previously, it was located under the Directory tab, however, I am unable to locate it now. There may have been ...
0
votes
1
answer
23
views
retrieve the main request url in OnAuthenticationFailed in owin using environment variable or other method
I have an old .net application. I am implementing OIDC with Owin. This application is not MVC.
Please note there is a third party app that does the authentication with IM tool Okt as single sign on.
...
0
votes
0
answers
70
views
spring boot(3.1.0) with OKTA SAML authentication enters into infinite loop
I am configuring OKTA SAML 2.0 authentication with Spring boot application(v3.1.0) and ending up with infinite loop.
Here is my config code:
@Bean
public SecurityFilterChain filterChain(HttpSecurity ...
0
votes
0
answers
4
views
Multiple organisational accounts on SSO device
I am a software contractor and for the first time will have two clients at once. I am wondering if my SSO (Okta and Duo) can support multiple organisations independently on a single mobile device? Or, ...
0
votes
0
answers
49
views
Retrieving OKTA Attributes in Spring Application Hosted on WebSphere with OIDC Configuration
I am having a spring boot based application which uses spring security and spring boot dependencies
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="...
0
votes
0
answers
13
views
Okta With Flask Angular Application Deployed on Apache Returning a 404 error on Correct Login
I'm currently trying to use Okta with Flask Angular which is deployed on Apache. This is my application.wsgi file:
import sys
import logging
sys.path.insert(0, '/var/www/basicapp/backend')
from app ...
0
votes
2
answers
90
views
How to convert spring boot app with Okta to read okta groups
A while back, I created a spring book application that uses Okta as the OIDC provider. It's based on a previous version of this great example by Matt Raible.
What I'm trying to do now is obtain the ...
0
votes
1
answer
13
views
Okta SAML SpEL expression syntax
I'm trying to configure Intelex with our enterprise Okta but I cannot get this simple expression to get accepted:
ALPH${""}${f:substringBefore(user.login,"@")}
Here is a sample ...
0
votes
0
answers
33
views
Browser CORS error while implementing OKTA SAML in localhost
Using OKTA SAML, I'm putting in place an authentication system. According to my process, the UI will access the API with or without a JWT token, and the API will check to see whether the JWT token is ...
0
votes
0
answers
45
views
How to implement Logout in ASP.NET Core MVC using OpenID and redirecting user to another sign-in page
I am trying to set up ASP.NET Core 6 MVC application's logout functionality and looks like I'm not able to sign out user successfully. I should be able to have user navigate to a custom dashboard page ...
0
votes
0
answers
87
views
SSO implementation using SAML 2.0 Okta Python FastAPI
I'm trying to implement SSO using Okta as an identity provider using SAML.
I want to be able to login via the Okta login page, parse the SAML response and store it as a session. I didn't find a good ...
0
votes
0
answers
23
views
Log user in after account has been created and not to login screen using Okta flow
When a new user is created, we need to get an id token instead of taking the user to the login screen.
This is how the flow works.
A new user is being created in our Express API using @okta/okta-sdk-...
0
votes
0
answers
42
views
Failed to get Access Token for Okta PKCE with Postman API Automation
I am new to PKCE-based authentication integration. I want to create API automation for PKCE enabled auth flow using Postman. These are the steps I have followed so far and still not able to get the ...
0
votes
1
answer
79
views
SSO using Okta with React (typescript) and FastAPI (python)
I’ve implemented Okta authorization on frontend (React) using @okta/okta-react and @okta/okta-auth-js packages.
On the Okta side I created application that uses “OIDC - OpenID Connect” Sign-in method ...
1
vote
1
answer
53
views
Error Using Okta: "ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(n)[ET -> ET -> ET]"
I'm encountering the following error during runtime:
main.js:1 ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(n)[ET -> ET -> ET]:
NullInjectorError: No provider for ET!...
0
votes
0
answers
61
views
How to implement okta authorization workflow with an ASP.NET Core Web API
I'm trying to set authentication/authorization for an ASP.NET Core 6 Web API project using the authentication flow, but I'm facing some issues with the callback and how to handle the authentication ...
0
votes
2
answers
43
views
Okta blocks call from angular front end at localhost:4200 to spring boot backend at localhost:8080
When Okta is used to secure API access, cross domain call from angular app at localhost:4200 to spring boot app at localhost:8080 will be blocked even with @CrossOrigin("*") placed on ...
0
votes
1
answer
41
views
Trouble logging in
I am integrating my asp.net core 6 web application with Okta. I followed all the instructions that they provided, however, I am getting a CORS error when I try to log in.
Program.cs
builder.Services....
0
votes
2
answers
83
views
Spring Boot / Okta - how to retrieve the users groups
I'm trying to find an example of how to get the groups a user belongs to in Okta in a Spring Boot application which uses Okta as its OIDC provider.
So far, I've gotten the user attributes and the ...
1
vote
0
answers
34
views
How do I fixt the Okta/React/.NET CORS Preflight Error?
I'm trying to use Okta for user authentication.
The stack is ASP.net core and react. This is the new template where react and the ASP.net core API projects are separate.
I have the Okta example ...
0
votes
0
answers
27
views
How can I persist id_token to use during sign out?
I'm using Okta, .NET 6 and Identity Server 4 (in the middle of convincing the upper management to upgrade from 4.0 to 6.0).
I need the id_token in order to log out from Okta, however it's always null.
...
0
votes
0
answers
71
views
Getting an Okta sign-in error in Angular app
I'm making website and want to add okta sign-in. i have error when i open login component:
browser says that something with renderEl:
authorization_code on okta account is enabled:
The codes:
...
-1
votes
1
answer
24
views
In React, the localstorage.getItem return null
index.js:
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
const root = ReactDOM....
0
votes
1
answer
69
views
Configuring Okta IDP with keycloak
Recently I started using Keycloak, My requirement is that I want to configure Okta as an IDP. I was able to do that but the problem is each IDP will have an alias which should be unique for that realm ...
-1
votes
1
answer
92
views
Vue 3 / Vite Okta GetAccessToken() - how do I call it?
Converting a Vue 2 to a Vue 3 using Vite for a client/server REST API.
In Vue 2, after a successful login to the Okta Widget, I could get the okta accessToken like this:
authUtils.js
import Vue from &...
0
votes
1
answer
45
views
OKTA Redirect Not working - React routing
I have written an OKTA enabled React application (OIDC with PKCE).
The application is working fine when I run it locally from node server (npm start).
The moment I put the dist files in Apache, the ...
1
vote
0
answers
38
views
How to generate a JWT at userlogin in Okta portal using Okta as OIDC provider. I want to assume an AWS role using this JWT
I want to achieve my solution only using Okta as OIDC provider and don't want to use Okta + AWS Cognito.
My identities are in Okta and I want to generate JWT at userlogon in AWS Okta. I will then use ...
0
votes
0
answers
30
views
react okta login - detect new login and call a rest api
I'm trying to trap a fresh event of okta's LoginCallback component so that when a user newly logs in, I can make a rest call to update the user info in my database.
I created a custom LoginCallback to ...
0
votes
0
answers
14
views
How to whitelist origin for okta auth token validation on CloudFront
I have resources hosted on S3 and I am accessing those through CloudFront. I want to whitelist one site to access resource hosted on S3 and CloudFront and do not perform auth token validation. Is ...