Skip to content

Conversation

@gusfcarvalho
Copy link
Contributor

No description provided.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copilot AI review requested due to automatic review settings December 23, 2025 13:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements SSO/OIDC authentication support and updates the user management API endpoints from /api/users to /api/admin/users. The changes include a new SSO callback flow, login UI updates with SSO provider buttons, enhanced user profile data display, and 403 permission error handling.

  • Adds SSO/OIDC authentication with provider selection and callback handling
  • Migrates user management endpoints to admin-scoped routes (/api/admin/users)
  • Extends user model with authentication metadata fields (authMethod, authProvider, userAttributes)

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
src/views/users/UsersListView.vue Updates API endpoint and adds 403 error handling with toast notification
src/views/users/UserView.vue Updates API endpoints and displays new auth-related user fields
src/views/SSOCallbackView.vue New view handling SSO callback with user fetching and redirect logic
src/views/LoginView.vue Adds SSO provider UI with buttons, error notices, and provider loading
src/stores/types.ts Extends CCFUser interface with optional auth fields
src/stores/auth.ts Changes user type from local interface to CCFUser
src/router/index.ts Adds SSO callback route and /login redirect to /auth/login
src/composables/useOIDC.ts New composable for managing SSO providers and login initiation
src/components/users/UserEditForm.vue Updates API endpoint to admin scope
src/components/users/UserCreateForm.vue Updates API endpoint to admin scope

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gusfcarvalho gusfcarvalho changed the title feat: idc feat: oidc Dec 23, 2025
@github-actions
Copy link

github-actions bot commented Dec 23, 2025

🧹 ESLint Report

Status Count
❌ Errors 2
⚠️ Warnings 0

Linting completed automatically by CI.

feat: dark mode toggle button

fix: dark mode color adjustments
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 13 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gusfcarvalho gusfcarvalho enabled auto-merge (squash) December 23, 2025 15:47
@gusfcarvalho gusfcarvalho merged commit aae4b3e into main Dec 23, 2025
9 checks passed
@gusfcarvalho gusfcarvalho deleted the gc-feat-oidc branch December 23, 2025 15:52
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