Comments (10)
Glad to hear. It's a new feature we just added. We are working on the documentation. I'll keep you updated once it's released.
from logto.
@cesdperez please check this doc. Let us know if this helps.
from logto.
Hi @cesdperez , thanks for your feedback.
We actually have a direct sign-in feature that allows users to jump directly to a specific SSO IdP's sign-in page, without needing a valid email domain. Would this address your issue?
However, this feature requires you to have a particular SSO IdP pre-configured. For multiple SSO IdP enabled, we still need to use user email to identify the enabled SSO connectors.
from logto.
Hi @simeng-li, thanks a lot for your reply!
We actually have a direct sign-in feature that allows users to jump directly to a specific SSO IdP's sign-in page, without needing a valid email domain. Would this address your issue?
This could be what I'm looking for indeed. Is it available for Enterprise SSO? I couldn't find that option, and when setting up an SSO connector the email domain is a required field.
I forgot to mention, I'm using the OSS version.
from logto.
Yes, that would be what I'm looking for ๐๐ผ. I haven't verified the functionality, tho. Thanks for the quick response.
Nonetheless, my use case requires that for any kind of enterprise SSO connection (either OIDC or SAML).
Is this also working with SAML SSO enterprise connectors?
from logto.
I see that the email domain is still a required field when creating an SSO Enterprise connector
.
For my use case, I'd need this to be optional.
I'm using version 1.15.
from logto.
For direct sign-in, you may leave this field empty, it should jump the email domain validation step. Let us know if you met any blockers.
from logto.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from logto.
I'm not being able to make this work.
I have a working enterprise SSO connector, and I'm using the React SDK like this:
import { useLogto } from '@logto/react';
import { useState, useEffect } from 'react';
const Home = () => {
const { isAuthenticated, getIdTokenClaims, signIn, signOut } = useLogto();
const [userId, setUserId] = useState('');
useEffect(() => {
(async () => {
if (isAuthenticated) {
const claims = await getIdTokenClaims();
setUserId(claims.sub);
}
})();
}, [isAuthenticated]);
return (
<div>
{userId && <p>Logged in as {userId}</p>}
{isAuthenticated ? (
<button onClick={() => signOut('http://localhost:5173')}>
Sign Out
</button>
) : (
<button onClick={() => signIn({
redirectUri: 'http://localhost:5173/callback',
directSignIn: 'sso:ac6lupl1o2a6'
})}>
Sign In
</button>
)}
</div>
);
};
export default Home;
When I click "sign in" I see the default Logto login screen (asking for username and password). I see this in the browser console which doesn't look correct:
Navigated to https://3001-logtoio-demo-cgr8sxlpiwa.ws-eu114.gitpod.io/direct/undefined/undefined?fallback=sign-in
Navigated to https://3001-logtoio-demo-cgr8sxlpiwa.ws-eu114.gitpod.io/sign-in
...
Enterpise SSO is enabled in my "Sign-in experience" configuration. The connector id sso:ac6lupl1o2a6
is correct. Not sure what else I could be missing.
I'm using "@logto/react": "^3.0.10"
and Logto server is 1.17.0
.
from logto.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from logto.
Related Issues (20)
- bug: 404 Error Page Returned After Clicking Login Button Issue HOT 10
- bug: Not able to work as OIDC to Cloudflare Zero Trust HOT 6
- Bishos HOT 1
- bug: WordPress Logout error HOT 4
- feature request: add PWA support HOT 1
- Enable running as "rootless" on kubernetes (problem with alteration-scripts writability) HOT 1
- โThis sign-in method is not enabledโ when signing in with an email or mobile phone number. HOT 3
- feature request: check me out and maybe let's start cooperation on business plane of things? HOT 1
- bug: Can not use redirect URI other than /callback in next app HOT 1
- bug: Infinite loop login HOT 4
- feature request: support `AbortSignal` in custom JWT claims code HOT 3
- bug: user roles update via PUT always throws invalid body error HOT 3
- feature request: how can I create multiple same type connectors?
- How to add a wildcard domain callback URL HOT 1
- feature request: Make preferred_username standard claim have the same value as username by default HOT 1
- bug: Not able to work as OIDC to Cloudflare Zero Trust (2) HOT 4
- bug: User "logto_tenant_logto" has no password assigned.' HOT 2
- feature request: Add email based 2FA OTP system HOT 2
- bug: error load-connector HOT 1
- bug: Localization error on sing-up experience in Polish HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logto.