Skip to content

[refactor] Update OIDCProvider & EventItem #28

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

Merged
merged 14 commits into from
Nov 26, 2024
Merged

[refactor] Update OIDCProvider & EventItem #28

merged 14 commits into from
Nov 26, 2024

Conversation

Aloento
Copy link
Member

@Aloento Aloento commented Nov 25, 2024

Summary of the Pull Request

This PR focuses on improving the functionality, performance, and maintainability of the application with the following changes:

Changes

  1. Refactor:
    • Simplified status retrieval logic in the EventItem component to improve readability and maintainability.
    • Update OIDCProvider to use environment variables for configuration and simplify sign-in/sign-out callbacks

@Aloento Aloento self-assigned this Nov 25, 2024
@Aloento Aloento changed the title [refactor] Update OIDCProvider to use environment variables for confi… [refactor] Update OIDCProvider Nov 25, 2024
@Aloento Aloento changed the title [refactor] Update OIDCProvider [refactor] Update OIDCProvider & EventItem Nov 25, 2024
.env.exmaple Outdated
@@ -0,0 +1,7 @@
SD_BACKEND_URL="/v2"
Copy link
Contributor

Choose a reason for hiding this comment

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

As an example, it should be more detailed. I'm suggesting to put here something like

SD_BACKEND_URL="http://localhost:8080/v2"

.env.exmaple Outdated
SD_BACKEND_URL="/v2"

SD_CLIENT_ID=""
SD_AUTHORITY=""
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this env variable for an authority url? If yes, please add _URL to the end.

@Aloento Aloento added the gate Merge PR label Nov 26, 2024
@otc-zuul otc-zuul bot merged commit 86cf5f7 into main Nov 26, 2024
6 checks passed
@otc-zuul otc-zuul bot deleted the feat_auth branch November 26, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gate Merge PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants