jimmyjames / fga-spring-examples

simple example demonstrating using FGA in a spring boot application
15 stars 4 forks source link

Consider Single Sample Application #6

Closed rwinch closed 6 months ago

rwinch commented 6 months ago

I'd like us to consider switching to using a single sample application that performs basic authentication using in memory authentication with two different users.

I think that this will provide some advantages:

Things to consider:

rwinch commented 6 months ago

@jimmyjames I'm happy to submit a PR if you agree with this

Crain-32 commented 6 months ago

I'd be fine adding in some In-Memory Basic auth when I make a PR to merge my baseline with this project. Meant to get to that last night, but got held up with other things.

rwinch commented 6 months ago

Thanks @Crain-32! Are you ok with a single sample or do you think there is value in doing more than one type of authN right now?

I'm curious if @jimmyjames's thoughts as well.

Crain-32 commented 6 months ago

@rwinch I think a single sample works for now. We can increase the amount size once we get a better grasp.

The nice thing is because Spring Security is based around the Authentication Object, as long as we have a good handle on mapping from that, I'm very confident in our ability to handle other types of authentication.

jimmyjames commented 6 months ago

Hi @rwinch and @Crain-32 - Yes I think a single sample makes the most sense now, and I think a single authN works for now. We can add later if needed as we think about that more. Thanks!