asgardeo / asgardeo/javascript
Provide Configuration to Disable Unnecessary Authentication Network Calls
- Langage dominant
- TypeScript
- Étoiles
- 18
- Forks
- 67
- Merge moyen
- 4 h 6 min
- PR mergées (30 j)
- 13
Description
### Current Limitation
During the authentication flow, the application triggers multiple network calls to external endpoints such as:
- https://api.asgardeo.io/t/{tenant}/scim2/Schemas
- https://api.asgardeo.io/t/{tenant}/api/users/v1/me/organizations?limit=10&recursive=false
- https://api.asgardeo.io/t/{tenant}/scim2/Me
These calls are executed automatically as part of the authentication/initialization process, even when the application does not require this data.
### Suggested Improvement
Suggested Improvement:
Introduce a configurable option to allow developers to disable these additional network calls during authentication.
### Please select the package issue is related to
@asgardeo/javascript
### Version
0.14.2
### Reporter Checklist
- [x] I have searched the existing issues and this is not a duplicate.
- [x] I have provided all the necessary information.
- [x] I have verified the improvement is not available in the latest version of the package.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par retracer le flux d’authentification et d’initialisation dans le package @asgardeo/javascript afin de localiser les appels à SCIM Schemas, organizations et aux endpoints Me. La tâche est terminée lorsque les développeurs peuvent désactiver ces appels supplémentaires tout en permettant au flux d’authentification de continuer à fonctionner ; ajoutez ou mettez à jour la couverture là où les tests du package vérifient ce comportement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- authentication
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100