Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examplebroker): Mutliple fixes to example brokers #60

Merged
merged 7 commits into from
Sep 26, 2023

Conversation

didrocks
Copy link
Member

@didrocks didrocks commented Sep 25, 2023

Fix missing userinfo metadata when granting access. In the selection of userinfo, we missed the marker in the data json struct in the examplebroker. Readding it.
Fix multiple MFAs handling logic.
Removal of dead code.
Fixing cycling imports.
Labels changes.

In the selection of userinfo, we missed the marker in the data json
struct in the examplebroker. Readding it.
@didrocks didrocks marked this pull request as ready for review September 25, 2023 16:38
@didrocks didrocks requested a review from a team as a code owner September 25, 2023 16:38
denisonbarbosa and others added 5 commits September 26, 2023 06:45
The examplebroker package is imported by brokers when using the
"withexamplebroker" build tag. If we import the brokers pkg in the
examplebroker one, we'll get a build error due to cycle imports.
We were not using the exampleUser type for anything (neither its
Stringer implementation), so it's better to simplify things.
The user information should only be provided when we return auth.Granted
This is the ui layout used in other parts, let’s align with it.
@didrocks didrocks changed the title fix(examplebroker): Fix missing granted field fix(examplebroker): Mutliple fixes for example brokers Sep 26, 2023
Rename the variables to make more sense to reason with in example
broker.

Co-authored-by: Denison Barbosa <[email protected]>
@didrocks didrocks changed the title fix(examplebroker): Mutliple fixes for example brokers fix(examplebroker): Mutliple fixes to example brokers Sep 26, 2023
@didrocks didrocks merged commit 188fe09 into main Sep 26, 2023
5 checks passed
@didrocks didrocks deleted the fix_missing_granted_field branch September 26, 2023 14:57
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.

3 participants