Skip to content

OAuth 2.0 Resource Server Multi-tenancy - documentation improvement #12295

@TobiasSuhrborg

Description

@TobiasSuhrborg

Expected Behavior
Preamble: I don't know the correct way to voice this issue, so if it's not the correct way, please tell me how to do it right.

While copying code from the OAuth 2.0 Resource Server Multi-tenancy section
I noticed some inconsistencies. I expect the documentation to be usable code.

Current Behavior

2 code snippets contain bad code.
I tried creating a PR, but was not able to.

Here is the diff with the fixes:
image
2 parameters are provided, but not used. At the same time 2 fields are used, which are not described and resemble those parameters.
I assume that this is a mix-up.

image
A non-existing class name is used.

Metadata

Metadata

Assignees

Labels

in: docsAn issue in Documentation or samplestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions