Questions tagged [onelogin]

Use this tag to ask programming questions about interfacing with OneLogin's identity and access management interfaces. This includes their SAML and NAPPS toolkits, their Cloud Directory API, or their implementation of System for Cross-domain Identity Management (SCIM). Non-programming questions (e.g. general support) are OFF-TOPIC for Stack Overflow.

OneLogin provides open-source toolkits and guidance that help developers quickly and securely support SAML web SSO, NAPPS native app SSO, and SCIM user provisioning in their apps.

OneLogin also provides a Cloud Directory API that developers can use to incorporate and build upon OneLogin's core product features. The API is based on RESTful principles, is secured by OAuth 2.0, and provides JSON messages, search, pagination, sorting, and filtering.

Found a bug? Submit a support ticket.

Have a product idea or request? Share it with us in our Ideas Portal.

441 questions
14
votes
1 answer

Refreshing JWT token in Passportjs

I am using passport-openidconnect strategy which works well but the expiration of the session is short 3600 seconds and I don't think its changeable. Would I use the refresh token to get another token id? If I do where would I add that logic in…
Mike
  • 149
  • 2
  • 17
10
votes
1 answer

Nodejs - Passport-saml implementation with One-login

I'm trying to run below passport-sample example with one login SSO. But I couldn't make it successful. I have given Onelogin HTTP-redirect url in the SAML entry point(config.js). It was redirecting to one login authentication page and redirecting…
user2848031
  • 193
  • 9
  • 31
  • 63
10
votes
1 answer

SAML for Native Mobile Apps(Android and IOS)

I have been searching for quite long time, whether SAML Authentication available for Mobile Apps. I went through the oneLogin developer portal completely, but could not find any documents on Android and IOS Api. Can somebody please confirm me…
Veerendra
  • 111
  • 1
  • 4
9
votes
2 answers

AWS API credentials with OneLogin SAML and MFA

We want to allow our users to retrieve a set of temporary CLI credentials for a given AWS role by signing in to OneLogin with password and MFA. We have a working solution, but it requires the user to fully re-authenticate to OneLogin (including MFA)…
Jack Foy
  • 383
  • 2
  • 8
6
votes
1 answer

Error while doing IdP initiated login using AWS Cognito

I am using IdP as Onelogin & aws cognito(SP). SP initiated login working fine. But when i clicked on App Portal/ Home -> on my application, then it redirects to cognito with error prompt "Invalid relayState from identity provider" I checked relay…
6
votes
0 answers

How to return multiple nameId formats in OneLogin Ruby metadata xml?

Question Can OneLogin's Ruby gem be configured to return multiple name id formats in our applications saml metadata xml? Context: We are a service provider that use's Onelogin's Ruby gem for SAML SSO and we have a customer who is integrating their…
Peter P.
  • 2,718
  • 2
  • 17
  • 25
6
votes
2 answers

Verify AD or LDAP crendentials via REST API

Our requirement is simple. We have a web application that requires users to sign up for a new account in order to use the service. We would like to offer users to login using their AD or LDAP credentials, provided that an AD/LDAP connector was…
5
votes
1 answer

How to use onelogin SSO with AngularJS?

I was looking into Onelogin for SSO. We have applications written in .NET, AngularJS + Node. None of these applications are mobile applications. After going through their documentation I have few questions: 1> Onelogin is using SAML instead of…
LP13
  • 20,711
  • 38
  • 136
  • 286
5
votes
1 answer

ASP.Net Single Sign On CrossDomain with OneLogin and DotNetOpenAuth

I'm working on a project requiring single sign on cross-domain (not subdomain) authentication for 2 websites. I've search for what others have said around here and on the web and tried to use DotNetOpenAuth but I can't make much sense of it and the…
gcastelo
  • 393
  • 1
  • 3
  • 8
4
votes
0 answers

Curl through the SSO page

I want to test the SSO authentication with curl command line [I'm using OneLogin as an IDP], But i don't know how to run a curl request to pass through the authentication page curl -L -c cookie.txt -d "LoginName=mylogin" -d "password=mypassword" …
h.zak
  • 1,279
  • 2
  • 18
  • 33
4
votes
1 answer

Signature validation failed. Reference validation failed

I am using onelogin for SAML as SP. I was able to get the response XML. But the validation of the SAML response is failing due to Signature validation failed. Reference validation failed I tried to check the XML via the online tool but got the…
4
votes
1 answer

Python SAML OneLogin - How to support multiple Identity Providers

I'm relatively new to SAML and came across the OneLogin Python SAML library. I was able to get it up and running with my web app being the Service provider (SP) and OneLogin being the Identity Provider (Idp). I would like to be able to add support…
Shetty
  • 371
  • 2
  • 15
4
votes
0 answers

Laravel 5 and OneLogin

I use Laravel 5.2 and package laravel-saml2 to create simple SSO application. I have a simple page with link http://laravel_url/private. When user click on link I check in the session user status and if user not authenticated the application…
Joyeffect
  • 63
  • 4
4
votes
1 answer

Rails - Onelogin ruby-saml integration issue +

I am facing issue in using ruby-saml in my Rails application. I am new to Ruby world. From here I got to know I could use ruby-saml tool kit for SAML SP. Now, when I tried to refer to OneLogin in my controller (like below) I am getting the error…
param83
  • 423
  • 2
  • 5
  • 16
3
votes
0 answers

Single sign on integration with angular app gives a CORS error on redirecting the SAML request

I'm trying to integrate my company's SSO to the web app I've developed. I'm using Angular in the frontend and Django as the backend. In order to create the SAML request, I'm using OneLogin's python-saml. The flow for SSO is: The user sends a login…
1
2 3
29 30