CL-16691: Support Okta Access token#148
CL-16691: Support Okta Access token#148vyerawar-gfm wants to merge 15 commits intoclassy-org:masterfrom
Conversation
|
We can pass okta generated access token to call endpoints |
src/ClassyResource/_makeRequest.js
Outdated
|
|
||
| const requestParams = { | ||
| baseUrl: this.baseUrl, | ||
| baseUrl: baseUrl ? baseUrl : this.baseUrl, |
There was a problem hiding this comment.
Where does this.baseUrl get set? I'd prefer that we update that value in the appropriate place if config.oktaBaseUrl is passed in.
There was a problem hiding this comment.
this.baseUrl is set in src/ClassyResource/main.js. In that we are not getting request payload to check is_okta_token flag.
I am removing this change from here and updating the this.baseUrl value in src/ClassyResource/createMethod.js file. I have updated the code, please review.
|
High level these changes look good. We'd want to make sure we have documentation that details what we're doing and why in the README and also comments in the code. I'm going to hold off on "approving" for now. We'll want to look into how we can potentially publish your fork to our private registry so that we can do tests before we merge. |
Hi @ESoch |
Cl 16691 - Yarn & CA Changes
No description provided.