InvenTree/docs/docs/settings
Matthias Mair 8bb03b7afd
feat(backend): add oauth2 (#9333)
* feat(backend): add oauth2

* fix import

* Add inventree roles

* refactor to make lookup more efficient

* fix single scope definitions

* cleanup

* fix schema

* reduce auth methods

* fix OAuth validator

* re-enable token and basic auth again

* Add models to role mapping

* change scope args

* add debug step for schema generation

* add oauth config for schema generation

* improve token -> permission mapping

* fix req

* extend checks to ensure normal auth also passes

* fix api version

* fix ignore

* fix rule name

* bump api version

* remove old modelref

* move scope definition

* make test results easier to work with

* add tests to ensure scopes are in sync with rulesets

* fix docstring

* fix various permissions and their mapping to oauth

* refactor

* simplify

* fix permission mapping

* ignore failure cases

* fix unauthenticated access

* flag oAuth2 till it is done

* Add OIDC support

* add RSA key generation and docs

* fix test

* move imports

* update ignore

* feat(backend): Add API Schema stats

* add scope stats

* fix name

* fix scope output

* feat(backend): test custom command

* add warning for unknown scopes

* reduce diff in launch.json

* cleanup  diff

* add error code for ruleset / scope issues

* update structure

* add oauth docs

* add experimetnal feature docs

* simplify metadata endpoint

* add importer model

* refactor(backend): simplify metadata endpoint

* fix imports

* simplify even more

* remove unneeded schema tooling

* fix permission mappings

* fix testing

* fix role calculations

* fix mapping

* remove importer change to unblock this

* remove importer scope everywhere

* fix merge conflict in test

* add missing models

* fix api version

* fix OASToken matcher

* revert permission class change

* reduce size of test log by writing schema

* fix permissions

* fix file path

* extend schema to remove need for TokenMatchesOASRequirements

* cleanup permissions file

* add base object permission
2025-04-18 19:27:32 +10:00
..
MFA.md Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
SSO.md [Documentation] Remove package credits (#8811) 2025-01-06 14:14:38 +11:00
admin.md [Documentation] Remove package credits (#8811) 2025-01-06 14:14:38 +11:00
email.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
error_codes.md feat(backend): add oauth2 (#9333) 2025-04-18 19:27:32 +10:00
experimental.md feat(backend): add oauth2 (#9333) 2025-04-18 19:27:32 +10:00
export.md Remove django-import-export (#8685) 2024-12-24 07:19:36 +11:00
global.md [Pricing] Add option to convert received items currency (#8970) 2025-02-03 18:34:15 +11:00
import.md Remove django-import-export (#8685) 2024-12-24 07:19:36 +11:00
logs.md sentry.io improvements (#4712) 2023-04-28 06:54:31 +10:00
permissions.md Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
reference.md [Documentation] Remove package credits (#8811) 2025-01-06 14:14:38 +11:00
tasks.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
user.md User Setting To Search Notes (#9393) 2025-04-04 09:22:39 +11:00