nasa-gcn / gcn.nasa.gov

General Coordinates Network (GCN) web site
https://gcn.nasa.gov
Other
177 stars 43 forks source link

Issue authentication materials to users that are bound to more than one group/scope #2382

Open lpsinger opened 3 months ago

lpsinger commented 3 months ago

Description

Currently, client credentials that we issue to users through https://gcn.nasa.gov/quickstart are good for exactly one group/scope. The reason is that we are transforming the scope claim in the JWT to a Kafka user principal. It would be really convenient if users could check boxes for all of the scopes that they want and to generate a client credential that can be used for any of them.

It looks like there is now support for groups and RBAC using OAUTHBEARER in Confluent Platform although there are some scary warnings about it not being ready for production use.

Acceptance criteria

lpsinger commented 2 months ago

Another useful link: https://docs.confluent.io/platform/current/kafka/authentication_sasl/authentication_sasl_oauth.html#configure-mds-to-enable-oauth-without-ldap