-
Notifications
You must be signed in to change notification settings - Fork 927
GCIP BYO-CIAM Initialize Auth Changes #8995
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
Conversation
|
Vertex AI Mock Responses Check
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
af47101
to
2ff7bfc
Compare
common/api-review/auth.api.md
Outdated
location?: string; | ||
tenantId?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these be mandatory fields inside tenantConfig?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. Changed here and all other places.
* The {@link TenantConfig} to use. This field is optional and required | ||
* if Regional Auth Instance needs to be configured. The Auth instance depends |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can rephrase it as below, wdyt?
This dependency is only required if you want to use regional auth which works with {@link DefaultConfig.REGIONAL_API_HOST} endpoint. It should not be set otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
/** | ||
* Which location to use. | ||
*/ | ||
location?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, shouldn't this be mandatory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Discussion
Implement BYO-CIAM Initialize regional auth changes.
Testing
apiHost
using Firebase Auth Demo App - https://screenshot.googleplex.com/8mvvxSaC2dBxe3UAPI Changes
Implemented Initialize Auth changes as per the API Proposal doc - go/gcip-byociam-web-api-proposal