this post was submitted on 03 Nov 2024
393 points (98.0% liked)

Open Source

31717 readers
130 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 month ago (1 children)

Is it for self-host ppl too?

In theory not an issue. I use Supabase, which you can self host as well.

You can also self host the Mistral Client, but not Gemini. However, I am planning to move away from Gemini towards a more open solution which would also support self hosting, or in-browser AI.

I am looking for OIDC, S3 and PgSQL

Since I use Supabase, it runs on PgSQL and Supabase Storage, which is just an Adapter to AWS S3 - or any S3, really. For Auth, I use Supabase Auth which uses OAuth 2.0, that's the same as OIDC right?

[–] [email protected] 2 points 1 month ago (2 children)

Very cool. You can check out ollama for hosting local ai model.

OIDC is an extension of OAuth2 that focuses on user authentication rather than user authorization. Once OIDC authenticates a user, it uses OAuth2 specifications to perform authorization.

The easiest way to support oidc is thru using lib from your framework/language. All major language should already have oidc lib. Take a look for authelia which has pretty nice doc. We host lots of app and we don't want to login hundred times for each apps. It's nice to login once only and all apps play nice to each other ;)

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

Yeah, I'll probably go with langchain and some user-options for different LLMs.

I'll also look into authelia

[–] [email protected] 1 points 1 month ago

I made an Issue for Feature requests. I've put OIDC in there: Feature Requests & Suggestions