Skip to content

implements authorization code grant#17

Merged
vinder-io merged 48 commits into
masterfrom
feature/VI-2-implements-authorization-code-grant
Jan 24, 2026
Merged

implements authorization code grant#17
vinder-io merged 48 commits into
masterfrom
feature/VI-2-implements-authorization-code-grant

Conversation

@vinder-io
Copy link
Copy Markdown
Owner

No description provided.

…nt authentication credentials to support the authorization_code flow
…e and clientcredentials constants to represent supported grant types
…specific validations for code and code_verifier
…by configuring NoWarn in the csproj, relying on exhaustiveness guaranteed by controlled types
…ess to common application contracts, utilities, and authorization handlers across the project
… delegating processing to grant type–specific handlers, improving maintainability and extensibility
…ing tenant?.Id when building the TenantId filter, preventing runtime exceptions when the tenant is not resolved
…de and code verifier errors, returning appropriate bad request responses during the authorization flow
…authorization_code flow, covering user authentication, tenant creation, manual generation and insertion of the authorization code, and validation of a successful 200 ok response with an access token returned from the /openid/connect/token endpoint
…ow by creating the tenant and user at runtime, removing dependencies on external state and fixed data, eliminating itenantprovider usage, and relying on tenant context via headers to better simulate the real authentication and authorization flow, improving test robustness, independence, and clarity
…flow test with pkce by making master user authentication and token usage explicit, adding tenant user creation and authentication, generating and validating the pkce flow with code_verifier and code_challenge, retrieving the newly created user from the database to manually create an authorization code, and simulating the authorization code exchange for an access token to fully cover the oauth2 flow
…dpoints to explicitly indicate their stability level (stable, experimental, or deprecated), helping developers and consumers understand the maturity and support status of the exposed endpoints
…ization screen, including fingerprint, lock, and check icons, leaving only the "secure access" title and security message to simplify the interface
… clearly inform that the application is requesting permission to access the user account, making the context more explicit and understandable
…ze to /oauth2/authorize, making the page accessible through the new standardized oauth2 url path
@vinder-io vinder-io merged commit c968bbe into master Jan 24, 2026
0 of 3 checks passed
@vinder-io vinder-io deleted the feature/VI-2-implements-authorization-code-grant branch January 24, 2026 17:51
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.

2 participants