asgardeo / asgardeo/javascript

Provide Configuration to Disable Unnecessary Authentication Network Calls

Open
#412 1 comment 0 reactions 0 assignees View on GitHub
Type/Improvement
Dominant language
TypeScript
Stars
18
Forks
67
Avg merge
4h 6m
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.