TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Multiple Login's on the same page

1 点作者 ezrider4428将近 15 年前
We are at the stage where we are getting ready to integrate with a potential client and the topic of how login should work came up. Currently the potential client has its own proprietary login system, we have built our tool so that you do not need to login at all, you can purchase the product without ever logging into to our system. We only require your email address so we can send you a confirmation.<p>This is causing a technical challenge, the potential client wants us to integrate into their login system, however we think that building links to proprietary login systems for all clients is not scalable. The other option we have is to offer the clients two login's, which we think is stupid. The challenge with that is from a UI perspective, having 2 login's on the same page seems confusing and amateur.<p>Any advice?

1 comment

Travis将近 15 年前
Can you not just make the format of your default login different from that of the client?<p>W/o knowing more details, take this with a grain of salt. BUT, I would just have the standard user/pass login form, and let your backend do the heavy lifting (figure out the login type from the format, or from trying to login with one method first).<p>Don't put it on the user to choose. This should be simple enough to do with some backend magic.