All Questions
Tagged with single-sign-on javascript
177
questions
0
votes
0
answers
19
views
Outlook SSO NAA in pure JS without node.js
In specialists,
Outlook on Windows only uses the runtime JS file defined in the manifest für event-based add-ins. How do you import and use msal-browser in this file without using node.js?
I am aware ...
0
votes
0
answers
34
views
SSO login using okta
Has anyone been successful in running Playwright using BDD in windows machine especially for an app where login is using Okta (with SSO enabled)? The challenge is script never gets the login screen. ...
0
votes
0
answers
29
views
Setup SAML in firebase
How can I setup SAML for my firebase project ? I found a document related to this problem but I'm confused how to find these information like in the image below. Is there a way to identify them in my ...
0
votes
1
answer
31
views
Is there a way we can attach an identifier to link when clicked from email
So this is an authentication link which we auto generate with some token for that particular email, Where we don't want the user to forward it, even if he/she forward it, we want to know from which ...
0
votes
0
answers
48
views
Electron app auth0 SSO login with system default browser
I followed this auth0 electron app documentation to login inside electron app for auth0 but when an accaount is SSO(Single Sign On) electron BrowserWindow doesn't work like system default chrome and ...
0
votes
0
answers
21
views
Get user token with Office Add-in for Excel that implements single sign-on
I'm creating an add-in for Excel. This add-in has to implement the single sign-on in Entra ID in order to call a protected API behind an Azure API Management.
I found a code in the Microsoft ...
2
votes
0
answers
116
views
How do you allow SSO when originating from an iframe in 2024?
I have an app that runs on example.com and you can log into it via SSO. You can also embed example.com into any website you want. When a user needs to log into example.com via SSO we open a new ...
0
votes
0
answers
163
views
Handling errors in MSAL Redirect - reactjs login with microsoft sso
We are currently trying to catch an error, when a user with a company Azure AD Account tries to access the application, but does not have access to the tenant where the application resides (Multi-...
1
vote
1
answer
35
views
Integrating one tap sign in with phone from phone email - Converting html and javascript code to React JS
I am learning React JS and new to it.
I have following code to integrate one tap sign in with phone (From Phone.Email) on my website. This button will verify OTP and send back verified number to my ...
0
votes
0
answers
16
views
GoogleSSO How to detect password change or signed out
We are implementing GoogleSSO, in the new API, I am not able to find out how to identify if user is logged out in another tab or if the session is still valid or in these lines. If I want to store the ...
0
votes
1
answer
753
views
Configure facebook login button for Business not allowed to add config_id
I have created a Facebook Business web app in a react project and want to add config_id while logging in. As the documentation mentioned for the business web app, https://developers.facebook.com/docs/...
0
votes
0
answers
11
views
Sso with nextjs
I want make a Single Sign On, where when I access my dashboard.sunize.com.br if there isn't a access_token, I will be redirected to sso.sunize.com.br and I will be authenticated and save my access and ...
-1
votes
1
answer
30
views
refereshToken is empty aws-amplify javascript
I use aws-amplify as shown below,
Amplify.configure({
Auth: {
region: config.aws.region,
identityPoolRegion: config.aws.region,
userPoolId: process.env.userPoolId,
...
0
votes
1
answer
137
views
Active Directory Pass Through Authentication for Apache Intranet Web-Application (PHP, JS)
I've builded some Intranet Web-Applications, which run on an Docker Container (Ubuntu-Host) with Apache and PHP.
The current Authentication is based on the Active Directory (NOT Azure, On-Premise ...
0
votes
2
answers
63
views
Error in SSO in Microsoft Teams React App
So I am making Microsoft Teams Tab with React, and there is required of SSO
I have gone through many video and article about SSO in teams Tab, but I go confused, I some video they say SSO required ...
0
votes
0
answers
145
views
Is using http://localhost as redirect URI safe for SSO authentication with MSAL in electron app?
I have created a electron app and need to integrate O365 login in it,every blog or video I see everyone is referring to redirect URI as http://localhost but to me it seems a concern using this in ...
0
votes
1
answer
920
views
window.close not working on closing a tab in JavaScript
I an having a issue when, After the SingleSignOn authentication completed successfully and redirect URL tab trying to close using JavaScript window.close it is not working.
I tried many JavaScript ...
0
votes
0
answers
126
views
Auth0 Single Sign-On (SSO) between Parent and Child Applications with Angular: Authentication State Issue
I have a parent application and a child application, both using Auth0 for user authentication. The goal is to achieve single sign-on (SSO) so that when a user logs in to the parent app, they can ...
0
votes
0
answers
79
views
How do you get AWS SDK to obtain a role when signing in from Azure AD SSO (Enterprise Application) redirected via Relay State?
I'm working on allowing the AWS SDK to access AWS resources from the browser. I'm using Azure AD Idp-initiated Enterprise Applications flow. The Consuming service is signin.aws.amazom.com/saml and the ...
2
votes
2
answers
405
views
Sharing JWT between Cross-Port Applications using postMessage
I have two applications running on my localhost, each on a different port (localhost:3000 and localhost:3002). My goal is to redirect a user from localhost:3000 to localhost:3002 while passing a JWT (...
0
votes
0
answers
80
views
Azure AD can't login with valid email if user was previously logged in to azure with another email (which doesn't belong to the tenant)
So we use msal-js library to add sso login to our site. We use this simple object for the msal-js configuration.
const config = {
auth: {
clientId: process.env.REACT_APP_CLIENT_ID,
authority:...
0
votes
2
answers
506
views
How to use my custom button when creating SSO with the Google Identity Services for Web?
I'm trying to create google sso popup flow in my react/Nextjs web app.
However, by following the guidelines by Google with the Google Identity Services for Web, all I can I use is a bare minimum ...
1
vote
0
answers
14
views
Keycloak refreshing with every navigation in react app [duplicate]
Hello Stackoverflow community
Thank you for your help. I have a build a react app using keycloak as a identity manager for authentication. One of the problem I am seeing in my app is every time I ...
1
vote
0
answers
1k
views
Authenik CORS-Error, when retrieving token
I have installed Authenik 2022.10.1 behind an Nginx Proxy Manager.
My Authenik-instance is accessible via the domain auth.<mydomain.tld>
On the server where Authenik is running, I setup an LDAP-...
2
votes
2
answers
1k
views
Office-Addin MSAL Single Sign In SSO: How to Refresh the Access Token?
How does one monitor the access token for expiry and refresh it in an Office-Addin Single Sign on Solution?
MSAL Single Sign On in an Office-Add in is a complicated beast. The access token is obtained ...
0
votes
1
answer
514
views
How to pass a token on an Azure Function response as a cookie with a redirect?
Considering the following code:
const { SAMLResponse } = qs.parse(context.req.body)
const { clientName } = context.req.params
try {
const samlResponseFormatted = decodeURIComponent(
...
1
vote
0
answers
107
views
SSO authentication, behind-the-scenes data passing
Good evening, I am developing an SSO authentication system, with 2 different domains.
Authentication: auth.aettr.pt
Application: my.aettr.pt
After the user is authenticated, the authentication domain ...
0
votes
1
answer
1k
views
Passing sessionstorage item into a link JavaScript or HTML
I am trying to create a single sign in, and far as I can think this would probably be the best.
My backend receives the request, checks for email, creates a JWToken and adds it to a link sent per ...
1
vote
0
answers
326
views
Access URL token AFTER SSO redirect express
I'm building an app that uses corporate SSO login. The SSO is configured to redirect users to my back end's /auth endpoint with an access token in the URL. I want to grab the token from the URL, set ...
0
votes
1
answer
290
views
Is there any way to save the Microsoft Teams tab SSO Azure AD access token into I-Frame cookies using MSAL in javascript?
I am using MS Teams SDK for getting Tab-SSO Access Token. Is there any way to store this Access Token in I-Frame Cookies like MSAL cache user Authentication information after a successful sign-in?. If ...
0
votes
1
answer
100
views
How to improve non-tenant UX in an Azure AD enterprise app with automatic SSO sign-in?
I have an Angular app that supports Azure AD authentication via a spring security backend. It supports anonymous (non-tenant) access but no other authentication methods.
On load, if there is no ...
-1
votes
1
answer
471
views
Is there a way to use Single Sign On(SSO) with my-website's account on other websites? [closed]
So I want to make an app store like Epic Games(let's name it "AB"). I want that the game developers can integrate my website with their games so they can provide a "Login With AB" ...
0
votes
1
answer
945
views
Azure Single Sign on post request giving 403 forbidden error
I am working on the jsp-springboot application ,I have implemented the sso using azure and it is working as expected. I have configured
azure.activedirectory.tenant-id
azure.activedirectory.client-id
...
0
votes
0
answers
697
views
React: What is the best way on implementing a server sided SSO login?
I'm creating a simple sso login react project with python as my backend server and reactJS as my frontend. I'm using react-google-login as my SSO login button. I've already setup my backend server ...
2
votes
1
answer
7k
views
Keycloak login-status-iframe.html page is in Quirks Mode causing home page stuck?
I have implemented SSO in Angular application via Keycloak using Keycloak-js. Wenn Keycloak server was running on my localhost, everything was fine. Later when we tried a remote Keycloak server then ...
0
votes
1
answer
560
views
can two websites talk or share any kind of data each other(reactjs)
Like knowing the previous url before coming to this page(not within same website but say two different websites). I tried consoling document.referrer in localhost in react, but returns an empty string....
0
votes
2
answers
4k
views
ReactJS: Login page shows whenever I refresh the page when im logged in
I'm trying to make a simple SSO login react app using react-google-login. Everything is working fine and I can login alright but whenever I'm logged in and I refresh the page, I can see my Login page ...
0
votes
1
answer
364
views
LinkedIn Learning LTI failed authentication
I'm attempting to integrate LinkedIn Learning Single-Sign-On via an LTI connection, however I'm always faced with the response: LTI_FAILED_AUTHENTICATION.
LinkedIn Learning - LTI_FAILED_AUTHENTICATION
...
0
votes
1
answer
282
views
Azure AD SSO, login.live not found
I using aws serverless architecture with cognito. I need to implement azure active directory. I have managed to setup all configuration to connect my azure AD account with aws cognito using OpenId.
So ...
0
votes
2
answers
316
views
can we use okta sdk for all identity providers?
I want to integrate all possible Identity provider in my APP like Auth0 SSO OIDC, Onelogin SSO OIDC, Google SSO OIDC etc and list will go on.
So can this be used to achieve that ?
https://github.com/...
2
votes
2
answers
825
views
Integration Salesforce and Angular App using Auth0 SSO
The project that I'm working on requires user to login from Salesforce lightening app and redirect it to external page Angular which bypasses the login page of angular and enter to dashboard which is ...
4
votes
1
answer
151
views
Script to automate the passing credentials to next page
I have one URL which asks me to " click here to login" then the next page loads.
once the next page loads I need to pass the credential. tried below script but didn't work
document....
2
votes
1
answer
2k
views
SSO Login in Cypress
the app that I test has SSO login. So, 1st I am cy.vist(xxx) to one URL then system directs me another cy.visit(yyy). But currently I cant handle the issue that currently I am facing. Can you please ...
0
votes
1
answer
2k
views
OAuth2 and SSO with angular-oauth2-oidc won't retrieve access token
here`s my problem
I am trying to implement SSO and OAuth2 flow with angular-oauth2-oidc. I can get the right response (the access_token) using POSTMAN and ThunderClient (VS code), but not with Angular
...
4
votes
0
answers
635
views
How to achieve cross domain SSO given that third party cookies are disabled by default in browsers?
I am trying to work on a cross-domain SSO.
I have a single central auth domain and couple of other domains (not sub domains. these are completely different ). Once you click on login, you should be ...
0
votes
1
answer
51
views
Can SSO be used by AD users when using my externally hosted website developed for those users?
I am developing a web site for an organization that used AD for validating its own employees. I am required to host the web site externally. The organization requires a Single Sign On for its ...
0
votes
1
answer
962
views
Vanilla JS Single Sign-On attempt with MSAL.js leading to pop-up window showing a copy of the same page
I've copied the example app at this repository to try to implement single sign-on: https://github.com/Azure-Samples/ms-identity-javascript-v2. I've changed the config values match those of the Azure ...
2
votes
1
answer
276
views
How to implement Auth0 SSO in Cordova without Angular
I am working on a Cordova Application where it uses only HTML, javascript, and jQuery. I need to implement Auth0 SSO in my application. I came to see all examples are done only in Angular, But I need ...
0
votes
1
answer
825
views
Code for passing user information from azureAD to app.js
I am trying to introduce the Single-Sign-On (SSO) feature to my React app and I want to use the user information from my company for the SSO verification. For that, I registered my application on the ...
3
votes
0
answers
856
views
MSAL.js 1.4.6 single sign out with Multiple tabs
is there a way to sign out at once in multiples tabs? I am running into a situation where the user login in tab1 then the user open another tab for the same app, then the user logout on tab1 while the ...