Skip to content

feat(oidc): Add role based access control#11

Open
jacknbeans wants to merge 3 commits into
michaelhthomas:feat/oidc-login-v3from
jacknbeans:feat/oidc-rbac
Open

feat(oidc): Add role based access control#11
jacknbeans wants to merge 3 commits into
michaelhthomas:feat/oidc-login-v3from
jacknbeans:feat/oidc-rbac

Conversation

@jacknbeans

Copy link
Copy Markdown

Description

Using a specific claim, access control groups can be acquired from the Authorization Server.

How Has This Been Tested?

Tested with Authelia.

Screenshots / Logs (if applicable)

image

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

A claim can be used to acquire roles for the user. These roles are then verified with the
authorizing role to grant access.
I had originally merged the develop branch of seerr-team/seerr in and I had required these changes
at that time. These are no longer required.
…hooks/useToasts'

The original feat/oidc-login-v3 branch does not include the changes made to use the new hook for
toasts
@jacknbeans

Copy link
Copy Markdown
Author

I still need to pull out the translation keys.

Comment thread server/routes/auth.ts
secure: req.protocol === 'https',
});
}
// if (!config.serverMetadata().supportsPKCE()) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why the state generation is commented out if PKCE is supported. My Authelia server throws an error without the state parameter and I believe it breaks the security layers. Since PKCE and state solve different issues, unless I am mistaken in my understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant