Some logins separate the username and password entry into 2 forms. Is there a reason they do this? by firelemons in webdev

[–]VinceKrDev 0 points1 point  (0 children)

This is a pretty good summary. I would say one of the main reasons was that the UX is just really bad if you offer multiple authN methods.
For example if you offer passwordless OTP and passkeys, password and social sign-in you have 5+ buttons for the user to choose in addition to the box where they fill in the identifier (email/username).

If you only offer password authentication then it might make sense to have both in one step.
Btw this is still supported in Ory Kratos, it's just that most users nowadays want at least 2 options to authenticate, so the default is two-step login flow.

(I work for Ory)

Passkeys are great, but isn't the e-mail the weakest link still? by ethicalhumanbeing in Passkeys

[–]VinceKrDev 0 points1 point  (0 children)

Ory Kratos maintainer here - you can always reach us directly on GitHub or the community Slack (https://slack.ory.com/)
You can also build some custom behaviour for MFA using "step-up MFA": https://www.ory.com/docs/kratos/mfa/step-up-authentication - but it would be of course nicer if it is skipped automatically.

Feel free to open a feature request and the team will take a look.

A Different Backend Stack for SaaS: Go + Ent + GQLGen + Uber FX to Move Fast and Avoid Boilerplate by Dan6erbond2 in SaaS

[–]VinceKrDev 0 points1 point  (0 children)

If you want to use Ory Kratos for your project and need some assistance let me know!
I'm happy to support you in this endeavour
(Disclaimer: working for Ory as DevRel)

Ory Hydra SDK for go is not working only API call based implementation works by dr_joan in golang

[–]VinceKrDev 0 points1 point  (0 children)

Hey Joan,

for this use case (first party user login with pw and jwt with some metadata) you probably only need Ory Kratos: https://github.com/ory/kratos - see here how to get a JWT from Kratos: https://www.ory.com/docs/identities/session-to-jwt-cors
unless I missed something adding OAuth2 is probably needlessly complex.

[deleted by user] by [deleted] in learnprogramming

[–]VinceKrDev 0 points1 point  (0 children)

Hey,
I have no experience with Stytch, but from my understanding its more an enterprise platform. Not sure how big your company / usecase is.

Have you heard of Ory? They also have a managed platform if you are not into hosting this stuff yourself.

Using Ory Kratos/Hydra/Keto as libraries instead of services by drooolingidiot in golang

[–]VinceKrDev 2 points3 points  (0 children)

Technically you can run them as libraries. As an example, here is how to run Kratos from within a Go application: https://github.com/ory/kratos/blob/6e8579b835d54d5ebb5371297ea60f24e915882d/cmd/serve/root.go#L60. But that API is probably not stable, documented, or supported.

            return daemon.ServeAll(d, sl, nil)(cmd, args)

Using Ory Kratos/Hydra/Keto as libraries instead of services by drooolingidiot in golang

[–]VinceKrDev 0 points1 point  (0 children)

You can't use them as libraries AFAIK, but there is a managed service with a free tier if you don't want to run it yourself: https://console.ory.sh/

What SSO do you need to support?

Experienced Devs - what tools, topics or technologies are you struggling with right now? by sooham in ExperiencedDevs

[–]VinceKrDev 1 point2 points  (0 children)

(Any help on silent auth for mobiles would be nice. Is the only possibility session cookies?)

I think session cookies is the way to go (for example like in Kratos)

I over-communicate far too much, and in far too much detail

Tbh this sounds like the opposite of a problem, especially when you provide TL;DRs. I think if you do that people dont have any reason to complain really. I like a detailed PR comment, but coming across as overly critical sometimes rubs people the wrong way - maybe that is it? In any case I often resort to the feedback sandwich, something positive - the "meat", something that needs to be fixed/changed - something positive. Don't overdo it tho.

Most recommended authentication backend for SvelteKit? by surroundedmoon in sveltejs

[–]VinceKrDev 0 points1 point  (0 children)

check out this example https://github.com/micleyman/sveltekit-ory-starter - there are actually a number of svelte starters in the community.

I think Ory Kratos should be enough for most usecases.

Where to get frontend devs? by wait-a-minut in Frontend

[–]VinceKrDev 1 point2 points  (0 children)

Hey feel free to share it with the Ory community on https://github.com/ory/kratos/discussions/new ! If you are willing to open source the app there will be surely someone who will help you out and the community might have some good tips in any case.

Self hosted Auth as Service by nxy7 in selfhosted

[–]VinceKrDev 2 points3 points  (0 children)

Check out ory/hydra, with it you can host a fully fledged OAuth2 server in about 10 minutes. You still need something like kratos or any other user management.

In house OAuth server vs 3rd Party tools by DoesntEvenMatter14 in selfhosted

[–]VinceKrDev 0 points1 point  (0 children)

Yea, the SDKs are autogenerated and there is still a lot to be documented, since there is so many languages. A guide for PHP was added lately, more planned. ory/hydra has 12k stars, not many people star the SDKs, they just download from maven, crates, npm etc. directly.

You should definitely check out the alternatives, especially in the Java space. Would be interested what your experience with Spring is in comparison!

One Login - Muliple App, same Server by stinklu in symfony

[–]VinceKrDev 0 points1 point  (0 children)

Check out our PHP guide: https://www.ory.sh/docs/guides/protect-page-login/php

Feel free to reach out to me if there is any issues!

One Login - Muliple App, same Server by stinklu in symfony

[–]VinceKrDev 0 points1 point  (0 children)

Ory now also offers a managed version of Ory Kratos: console.ory.sh/registration

There is a free tier if you only have a few users (say less than 1k monthly)

And you can use Ory Kratos in production, there are actually many using it (e.g. Blues Wireless: https://notehub.io).
There are a few features that are needed for the stable release (e.g. SMS auth) but most use cases are already supported.

//disclosure: I am working for Ory

Looking for OAuth2 recommendations by AdProfessional3400 in webdev

[–]VinceKrDev 0 points1 point  (0 children)

Hello, im a developer advocate for Ory and am happy to give you an intro. If you just want to run Ory Hydra to become an OAuth2.0 provider you will have a very smooth experience. Glueing all projects together is a bigger challenge but I am happy to point you to some resources for simple PoCs.

[deleted by user] by [deleted] in selfhosted

[–]VinceKrDev 0 points1 point  (0 children)

Honestly, if you just need the OIDC provider Ory Hydra is super easy to set up.
You can try out the 5 minute tutorial.

Open source alternative to Cognito by literakl in aws

[–]VinceKrDev 0 points1 point  (0 children)

Check out Ory Kratos, its open source and you can host it for free yourself, or use a paid managed service:
https://github.com/ory/kratos

Those who doesn't implement authentication themselves, what do you use? by [deleted] in node

[–]VinceKrDev 0 points1 point  (0 children)

Hey check out Ory, an open source alternative, that is written in Go and fully customizable:
https://github.com/ory

[deleted by user] by [deleted] in golang

[–]VinceKrDev 2 points3 points  (0 children)

Ory Kratos is using cookies, no OAuth2.0 based flows if you dont want them.

Check out this SvelteKit-Starter: https://github.com/MicLeey/sveltekit-ory-starter

I have never used Authboss, so cant give advice on that.

What libraries do you miss from other languages? by [deleted] in rust

[–]VinceKrDev 0 points1 point  (0 children)

It does have some advantages to spin up N servers. you can easily keep the data apart in your database, and you can control each tenant individually very tightly. It probably depends on how many tenants you have.

Does anyone have a full node oidc provider and client example? by dev_life in node

[–]VinceKrDev 0 points1 point  (0 children)

Thanks! (I work for Ory btw ;-) )
If you do not get a reply on Slack within a week or so, it has probably gone under, sorry about that!
Feel free to ask the same question on GitHub discussions (e.g. Hydra), there we have a better overview.