Skip to content

Update api-security-schemes lab with RBAC and fixtures#54

Merged
nashjain merged 4 commits into
mainfrom
RBAC
Jul 1, 2026
Merged

Update api-security-schemes lab with RBAC and fixtures#54
nashjain merged 4 commits into
mainfrom
RBAC

Conversation

@StarKhan6368

Copy link
Copy Markdown
Contributor

Summary

Updates the api-security-schemes lab to cover RBAC with OAuth using Specmatic before fixtures

Changes

  • Explained how OAuth tokens are fetched using before fixtures instead of being configured as a static token in specmatic.yaml
  • Added guidance for wiring the captured ACCESS_TOKEN into the Authorization header in OAuth examples.
  • Updated the docker command to apply the required fixes across the lab files

Depends On

  1. Sample: Add OAuth RBAC scopes and fixture examples specmatic-order-api-java-with-oauth#113
  2. Central Repository: Add RBAC with OAuth to order-api-with-auth labs-contracts#5
  3. Specademy: https://github.com/specmatic/specademy/pull/9

- Modify so users learn Oauth RBAC Auth
- Using the new substitution feature in specmatic enterprise
@StarKhan6368

StarKhan6368 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Before merging, we need to ensure that the Docker build has been published from the sample, the contract repository has been merged, and the branch is removed from the Specmatic config of the lab.

@nashjain nashjain merged commit d657e77 into main Jul 1, 2026
48 of 50 checks passed
@nashjain nashjain deleted the RBAC branch July 1, 2026 07: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.

2 participants