Comments (9)
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.
Related Issues (20)
- feature request: Multi-user pool HOT 4
- bug: Aliyun SMS Connector incorrectly identifies a Hong Kong mobile phone number as a mainland Chinese mobile phone number HOT 2
- bug: logto/rn is not compatible with latest expo version HOT 2
- feature request: LOgto on .net core microservice using microUI demo HOT 1
- bug: CORS errors in admin console with .Net Aspire HOT 2
- feature request: Allow Aliyun DirectMail connector to use different regions HOT 1
- feature request: MFA for admin UI? HOT 4
- bug: too little choice of webhook events in the console HOT 1
- bug: no pagination header in the Management API response HOT 4
- feature request: Application Dashboard with Icon-Based SSO Access for Organization Users HOT 1
- feature request: documentation for deploying on k8s HOT 1
- feature request: add provisioning capabilities for permissions and resources creation HOT 5
- feature request: support latest node HOT 1
- bug: getUserInfo not working when the access token expires and is refreshed HOT 3
- feature request: Ruby on Rails SDK? HOT 8
- feature request: How to use custom jwt My deployed logto cannot be used, I deployed with docker๏ผIs this feature for a fee? HOT 2
- bug: Newly created user cannot be found by username via user search API HOT 2
- how to configuration dingtalk sso? I would like to achieve the page in the dingtalk to open the implementation of login-free
- feature request: a wrong part of the doc of Nuxt SDK HOT 4
- bug: authorization code not found
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.