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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: GitHub login for B2D service?

4 点作者 bstahlhood超过 11 年前
I have been working on a B2D service. Right now my only login method is GitHub. I thought it made sense, since most seem to be using GitHub for their projects. It will use GitHub as a way to help add services to your development projects.<p>I wanted to know if this a bad way to go? Should I allow a native login? Various login types?<p>Thank you for your time and feedback on this issue.

1 comment

cookrn超过 11 年前
I don&#x27;t have too much specific feedback, but I know one thing that has irked me in the past (and irked users of services I&#x27;ve worked on) is when the OAuth permissions requested are very broad. For example, why request &quot;write&quot; access to a resource if you don&#x27;t need it? In other words, ask for the bare minimum permissions from the user that your app may require to function.<p>What stack are you developing in? Maybe there&#x27;s a solution like <a href="https://github.com/intridea/omniauth" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;intridea&#x2F;omniauth</a> available that you could utilize if applicable.<p>Hope that&#x27;s helpful and good luck :)
评论 #6747585 未加载