anishshiva7 opened a new issue, #9671:
URL: https://github.com/apache/texera/issues/9671

   ### Task Summary
   
   Add `orcid-auth.service.spec.ts` for `OrcidAuthService`, which the ORCID 
login flow reads its client id, authorize URL and redirect URI from. It has no 
spec.
   
   | Scenario | Contract |
   | --- | --- |
   | `getConfig()` | one `GET {api}/auth/orcid/config`; the config reaches the 
subscriber unchanged (ORCID requires the redirect URI to match byte-for-byte) |
   | not subscribed | no request is made |
   | HTTP error | reaches the subscriber's error callback |
   | `ORCID_STATE_KEY` | stays `"orcid_state"`, the key the login and callback 
pages share |
   
   ## Scope
   
   - New test: 
`frontend/src/app/common/service/user/orcid-auth.service.spec.ts`.
   - No production-code changes.
   
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to