-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add Experiment Center override params to AuthorizationParameters #177
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
Changes from all commits
51c72ad
b074d15
8e31a60
f2eb2f6
fcff107
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -245,6 +245,12 @@ class AuthorizationParameters(BaseModel): | |
| scope: Optional[str] = None | ||
| audience: Optional[str] = None | ||
| redirect_uri: Optional[str] = None | ||
| # Auth0 Experiment Center (A/B testing) override params, applied to this request only. | ||
| # Pass any of them to hint a specific experiment, variation, or segment instead of the | ||
| # automatic assignment. These are optional override hints, not a strict contract. | ||
| experiment_id: Optional[str] = None | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One design thing worth noting. This model defines the params as typed fields, but the login path reads Is dict the intended shape for now?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, dict is what we want for now. The typed fields on |
||
| variation_id: Optional[str] = None | ||
| segment_id: Optional[str] = None | ||
|
|
||
| class Config: | ||
| extra = "allow" # Allow additional OAuth parameters | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.