Live data from Hacker News

Okta's NextJS-0auth troubles

joshua.hu

101–110 of 167 posts

Re: Okta's NextJS-0auth troubles

#101

Earlier quoted context omitted.

Among the reasons to leave my last job was a CISO and his minion who insisted spending $50k+ on Okta for their b2b customer and employee authentication was a bulletproof move. When I brought it up, they said they didn't have anyone smart enough to host an identity solution. They didn't have anyone smart enough to use Okta either. I had caught multiple dealbreakers-for-me such dubious / conflicting config settings res…

Keycloak is a great authentication suite, not that hard to configure and rock solid. Ill never understand this thinking.

Keycloak has various vulnerabilities they haven't even responded to after a month of reporting them.

Re: Okta's NextJS-0auth troubles

#102

I think it is distasteful and disrespectful to call out an employee by name in this way, regardless of the merit of the rest of the OP's post.

How can it ever be disrespectful to publish truthful information about someone.

What does respect mean and how was it violated by this post?

I think you are far outside the mainstream of journalism norms and ethics and as such should bear the burden of explaining yourself further.

I think you're the one being disrespectful.

Re: Okta's NextJS-0auth troubles

#103
post #26

Earlier quoted context omitted.

Why is it confusing to you to expect attribution?

thats not the confusing part, its rather confusing to threaten to sue for copyright because of mistaken attirbution

Mistaken attribution, or taking something that doesn't belong to you and saying it belongs to someone else is a core function of copyright law and should not be confusing to anyone who has dealt with it before.

What is your understanding of what license and rights the author was providing them - understanding this I can figure out where you are confused.

Re: Okta's NextJS-0auth troubles

#105
post #55

Earlier quoted context omitted.

We've recently moved to Auth0. I'm no security expert. Whats the recommended alternative that provides the same features and price, but without the risks suggested here?

It's not difficult to implement OAuth2. There are good libraries, and even the spec is not complicated. Or use AWS Cognito.

Constructing a new OAuth2/OIDC Identity Provider from the ground up is an undertaking fraught with complexity – and not of the elegant variety. The reasons are numerous, entrenched, and maddeningly persistent.

1. OAuth2 and OIDC are inherently intricate and alarmingly brittle – the specifications, whilst theoretically robust, leave sufficient ambiguity to spawn implementation chaos.

2. The proliferation of standards results in the absence of any true standard – token formats and claim structures vary so wildly that the notion of consistency becomes a farce – a case study in design by committee with no enforcement mechanism.

3. ID tokens and claims lack uniformity across providers – interoperability, far from being an achievable objective, has become an exercise in futility. Every integration must contend with the peculiarities – or outright misbehaviours – of each vendor’s interpretation of the protocol. What ought to be a cohesive interface degenerates into a swamp of bespoke accommodations.

4. There is no consensus on data placement – some providers, either out of ignorance or expedience, attempt to embed excessive user and group metadata within query string parameters – a mechanism limited to roughly 2k characters. The technically rational alternative – the UserInfo endpoint – is inconsistently implemented or left out entirely, rendering the most obvious solution functionally unreliable.

Each of these deficiencies necessitates a separate layer of abstraction – a bespoke «adapter» for every Identity Provider, capable of interpreting token formats, claim nomenclature, pagination models, directory synchronisation behaviour, and the inevitable, undocumented bugs. Such adapters must then be ceaselessly maintained, as vendors alter behaviour, break compatibility, or introduce yet another poorly thought-out feature under the guise of progress.

All of this – the mess, the madness, and the maintenance burden – is exhaustively documented[0]. A resource, I might add, that reads less like a standard and more like a survival manual.

[0] https://www.pomerium.com/blog/5-lessons-learned-connecting-e...

Re: Okta's NextJS-0auth troubles

#106
post #3

That’s funny. I spotted a similar issue in their Go SDK[1] a few years back. I was pretty appalled to see such a basic mistake from a security company, but then again it is Okta. [1]: https://github.com/okta/okta-sdk-golang/issues/306

> I was pretty appalled to see such a basic mistake from a security company, but then again it is Okta. Oh. Em. Gee. Is this a common take on Okta? The article and comments suggest...maybe? That is frightening considering how many customers depend on Okta and Auth0.

Yea auth0 is an absolute clown show.

Re: Okta's NextJS-0auth troubles

#107
post #26

Earlier quoted context omitted.

Why is it confusing to you to expect attribution?

thats not the confusing part, its rather confusing to threaten to sue for copyright because of mistaken attirbution

I didn't see any threat to sue. What's your source?

Re: Okta's NextJS-0auth troubles

#108
post #101

Earlier quoted context omitted.

Keycloak is a great authentication suite, not that hard to configure and rock solid. Ill never understand this thinking.

Keycloak has various vulnerabilities they haven't even responded to after a month of reporting them.

Disclose publicly then, if you haven't already?

Definitely makes things safer than users not knowing about them.

Re: Okta's NextJS-0auth troubles

#110

Earlier quoted context omitted.

https://who.is/whois/simen.io He's not fictitious I think.

Simen Olsen is not fictitious, but the "my@" email/username seems to be. Zero hits on DDG, and only this article comes up in Google Search.

Search has become so bad that zero hits is not the indicator it used to be, even DDG is struggling now.

It's really evident in situations like this where you are looking for something specific. Seems like they all pushed too hard on the AI and the results are for averaged search queries. Using quotes and -term have become less helpful

Conspiratorially, I wonder if this is intentional to drive more traffic to ai. I find myself using Google Deep Search more, which is honestly a better UX if it would stop writing damn reports and just give me a brief with links. Alas it ignores any instructions to change it's output format

Post reply on HN