Better HN
topnewbestaskshowjobs
Log inSign up

biarity

64 karma · joined Jan 1, 2018 (8y ago) · 27 submissions

Submissions

comment 8y ago · link · parent

We're getting there!

comment 8y ago · link · parent

Don't any of the langauges you support have options to keep all dependencies up to date? Eg. By putting wildcards in version numbers

3.

An argument for passwordless(biarity.gitlab.io ↗)

2 points · by biarity · 8y ago · discuss

4.

At what point do passwords become impractical?(biarity.gitlab.io ↗)

3 points · by biarity · 8y ago · discuss

comment 8y ago · link · parent

I think your method is much cleaner actually. Just updated :)!

comment 8y ago · link · parent

I agree! I find this especially useful when I have to set things like a UserId associated with an entity or with more complex entities where some data comes from injected services. I know you can create a service that handles creating the entity as an abstraction, but that gets repetitive and adds complexity in large projects. I might actually add this my article :)!

comment 8y ago · link · parent

I myself really dislike that piece of code (searching in exception strings isn't secure for many reasons, for example someone could use this to reverse-engineer information about my database). But the only alternative that comes to mind is to check if an entity exists before attempting to create it - which I don't like because it leads to repetitive code in large projects (and I might forget to write checks). Any other ideas?

comment 8y ago · link · parent

Yes, that is the usual way of doing it. However, the point of this post was to showcase some ways of reducing duplicate code in large projects. Doing it normally (by checking if the entity already exists) can get repetitive if you have many controllers/entities. If you know of a better way of doing this, I'd be happy to update my article :)

comment 8y ago · link · parent

I know, I just couldn't find a cross-db solution since I can't seem to find any standardized error codes in the exception. Do you know of a better way of doing this?

comment 8y ago · link · parent

Well the server was going to return an error anyways, instead of checking if the entity exists then trying to create it, you just go ahead and try to create it. This way if the entity doesn't exist then you've saved a trip to the database. Otherwise you return the same error. And given the server is a black box, how would you "interrupt execution"?

11.

A todo list for new ASP.NET Core projects(biarity.gitlab.io ↗)

150 points · by biarity · 8y ago · 63 comments

12.

Show HN: Sort/filter/paginate framework for ASP.NET Core(github.com ↗)

5 points · by biarity · 8y ago · discuss

comment 8y ago · link · parent

Cierge also uses magic links, making the code invisible to keyloggers. You can configure it to use magic links exclusively.

comment 8y ago · link · parent

Wouldn't that also present an issue with usual password logins?

comment 8y ago · link · parent

Cierge is stateless so it doesn't matter if you have 100 login tabs open, it'll always work - and once the code is entered it is automatically invalidated.

comment 8y ago · link · parent

Cierge is an OpenID Connect sever (which is based on OAuth 2), so your website would interact with it just as it would with non-passwordless solutions.

comment 8y ago · link · parent

Hi there! Cierge is an OpenID Connect server that handles user signup, login, profiles, management, social logins, and more. Instead of storing passwords, Cirege uses magic links/codes and external logins to authenticate your users. You can find a good list of FAQs on our our GitHub page or try a demo here: https://cierge.azurewebsites.net

18.

Cierge – Email-based passwordless authentication service(github.com ↗)

3 points · by biarity · 8y ago · 1 comment

comment 8y ago · link · parent

Sadly nothing out of the box for AD. However, Cierge uses OpenIddict, so this might be helpful: https://stackoverflow.com/questions/38470683/is-it-possible-...

comment 8y ago · link · parent

Hi there! Cierge is an OpenID Connect server that handles user signup, login, profiles, management, social logins, and more. Instead of storing passwords, Cirege uses magic links/codes and external logins to authenticate your users.

You can find a good list of FAQs on our our GitHub page or try a demo here: https://cierge.azurewebsites.net

21.

Show HN: Easy magic-link authentication – Cierge(github.com ↗)

11 points · by biarity · 8y ago · 4 comments

22.

Show HN: Easy magic-link authentication – Cierge(github.com ↗)

2 points · by biarity · 8y ago · discuss

23.

Magic link authentication server – Cierge(github.com ↗)

1 points · by biarity · 8y ago · discuss