blong, to django
@blong@fosstodon.org avatar

Is it reasonable to use + , and for authn and authz ? Do I need another dependency like Django ? I see tutorial authors implementing BaseAuthentication from rest_framework.authentication (eg to plug in a JavaScript frontend). Is that enough to be secure? @adamchainz @adamghill any thoughts or a boost would be a gigantic help! 🙏

sjbitcode,
@sjbitcode@fosstodon.org avatar

@blong @adamchainz @adamghill Hello! 👋 Adding in my two cents -- I think Django + DRF work well together (also never used allauth for APIs)

You can use custom DRF authentication classes, like you mentioned, to handle JWT validation/decoding along with user authentication, and lock down your endpoints with scope-based authz via custom DRF permissions if you need to! Hope that helps!

blong, (edited )
@blong@fosstodon.org avatar

@sjbitcode Hello! 👋 Thank you 🙇‍♂️ That's very helpful! 🙂

fedora, to fedora

"Keycloak is an open source identity provider (IdP) with single-sign on (SSO) capabilities. It supports the most widely used enterprise authentication protocols, namely OpenID Connect (OIDC), OAuth 2.0, and SAML. With Keycloak, users sign in once and share the same identity across multiple applications and platforms in a transparent manner."

Learn how to set it up!

➡️ https://fedoramagazine.org/keycloak-on-fedora-workstation-with-podman/

b1systems, to random German

Interested in the integration of relational databases with Keycloak? Explore our article showcasing our Keycloak extension "proof-of-concept": https://blog.b1-systems.de/lessons-learned-when-implementing-custom-user-storage-provider-keycloak




ascherbaum,
@ascherbaum@mastodon.social avatar

@b1systems You have LinkedIn, Facebook and Twitter profiles on your main page - but it's missing your Mastodon account.

b1systems,

@ascherbaum Thank you, well recognized! We are currently in the final stages of creating a new website, which will of course also link to the Mastodon account!

freiefunken, to linux German

Wer mag, kann bei den Chemnitzer Linuxtagen was über Single Sign-on für Webanwendungen von mir hören. Ist aber für die, die sonntags morgens nicht verschlafen. 😉

https://chemnitzer.linux-tage.de/2024/de/programm/beitrag/213

lsmith, to random

Do I know anyone with experience building a custom federation provider in ? https://github.com/keycloak/keycloak/discussions/26181

shochdoerfer,
@shochdoerfer@phpc.social avatar

@lsmith hey @dasniko can you help my friend Lukas?

dgoosens, (edited ) to Symfony
@dgoosens@phpc.social avatar

Just had the time to catch up a little on @ApiPlatform conf 2023...

Excellent talk by @vincentchalamon about & and the integration with &

Vincent very clearly explains the core principles and the history behind these technologies before showing how «easy» it is to setup with

Talk will be available soon on the @cooptilleuls YouTube channel (and possibly in English)

https://www.youtube.com/@coopTilleuls

tbroyer, to security
@tbroyer@piaille.fr avatar

CVEs reported without version, and/or never updated to limit their CPEs to exclude versions where the vulnerability is fixed;

and now I get false positives every single time I update that dependency 😭

(in this case, specifically, Keycloak's CVE-2022-1438 and CVE-2023-0105, both still reported on version 22.0.4 by Dependency Track; the GitHub Advisories have the accurate information, but not the NVD 😡)

MarcusSchwemer, to php
@MarcusSchwemer@muenchen.social avatar

TIL: EU Captcha != captcha.eu

The last one is a payed service and has nothing to do with the open source captcha solution by the european union (despite the name nearly similar name)

Don't get hooked!

Schrank,
@Schrank@phpc.social avatar

@MarcusSchwemer open source captcha solution?! Tell me more 😳

cybersmog,
@cybersmog@phpc.social avatar
lukas, to Matrix German
@lukas@social.lukas-schieren.de avatar

Hat wer Erfahrungen mit der Anbindung von keycloak als SSO an Matrix?

csett86,

@lukas warte mal noch rund ein halbes Jahr, dann ist OpenID Connect (zB via keycloak) eh der default. Siehe https://areweoidcyet.com

peter,
@peter@hostsharing.coop avatar

@lukas
Sollte kein Problem sein. Hier ein Konfigurationsbeispiel für die Nutzung der OIDC-Provider-App der Nextcloud in Matrix/Synapse:
https://wiki.hostsharing.net/index.php?title=Nextcloud_OIDC_Identity_Provider

kpwn, to infosec

If not secured properly, one-time passwords are a lot more likely to be guessed than you think!

Ever since I've learned that 's default configuration does not prevent brute-forcing, I wanted to discuss the topic in detail and raise awareness.

Enjoy reading! 👇

https://infosec.exchange/@kpwn/110600013869408508

nosherwan, to security
@nosherwan@fosstodon.org avatar

🌩️
Cloud Authentication Services

There is a sea of Cloud Auth / Identity management providers.

There was a time I used to roll my own, but as security is getting complicated, it seems for startups & small to medium businesses it is better to use a cloud auth provider.

Please share your thoughts on your experience with this as I look into this area.

So far I have come across:


(by Okta)





socreatory, to random German

Hier ist des Rätsels Lösung:
💐Herzlich Willkommen @dasniko – wir freuen uns sehr ihn in unserem Trainer:innen-Team begrüßen zu können!
🗝️🧥 Hier findet ihr sein erstes Training bei uns – natürlich zum Thema : https://www.socreatory.com/de/trainings/keycloak/events/c29db1185e07

blake, to random

I could probably make a little shim between clients and to handle client lookup and registration. Not completely sure how IndieAuth clients would handle the redirect though (as it would be undoubtedly cross-subdomain)...

blake, to random

I've started reading a bit about -- for some reason, I started with the spec on W3.org, which makes more sense to me than a lot of stuff I've read but it also doesn't "feel" complete.

I'm wondering if I can configure to function sufficiently as an IndieAuth provider.

blake,

Keycloak doesn't work the way IndieAuth wants it to work. There don't seem to be any good providers that would work alongside it (again, I should be able to sign in just once!).

I could probably build and stand up a provider that uses Keycloak's OIDC and client registration mechanisms to make it work somewhat transparently, but that's quite a bit of technical work.

thomasdarimont, to random

The team is looking for feedback about using the Keycloak Authorization Services and authorization use-cases in general.

You can help to improve the Authorization Support in Keycloak!

Survey: https://www.keycloak.org/2023/07/authorization-survey.html

thomasdarimont,

@anderseknert from my experience, not really - KAS is IMHO infact not used that often, but one needs to use it indirectly for configuring certain features like token-exchange or fine-grained permissions.
However, I more and more see keycloak combined with OPA/Zanzibar based stores e.g. Open FFA to enable flexible authz. IMHO this combination gives you the most flexibility at moderate cost.

anderseknert,
@anderseknert@hachyderm.io avatar

@thomasdarimont thanks! Yeah, Keycloak for identity issuing JWTs and OPA verifying those and using the claims for policy decisions, that’s a power combo 😊

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • ethstaker
  • InstantRegret
  • tacticalgear
  • rosin
  • love
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • cubers
  • DreamBathrooms
  • megavids
  • mdbf
  • modclub
  • GTA5RPClips
  • normalnudes
  • khanakhh
  • everett
  • cisconetworking
  • osvaldo12
  • anitta
  • Leos
  • Durango
  • tester
  • JUstTest
  • All magazines