Closed lonelyhentxi closed 5 months ago
Since the Angular sample isn't using Logto JS client, it'll be tricky to support multiple resources. We can add an Angular SDK shortly.
We now support passing resources in a single string with comma as separator (https://github.com/logto-io/logto/pull/5773), so I think this may make it possible for you to do it in Angular. Let me know if this works
We now support passing resources in a single string with comma as separator (logto-io/logto#5773), so I think this may make it possible for you to do it in Angular. Let me know if this works
Thanks, works fine now. I will close the issue. Still it would be better if there is a official angular SDK that support the ability to request both user info and API resource access tokens.
Thanks for the update. The Angular SDK is on our roadmap. Please stay tuned to our future updates.
What problem did you meet?
It seems like the angular-example only supports one resource to be passed. And then I tried to call the login/logout methods like the example, while call
getAccessTokenClaims
from the bareLogToClient
to get the scopes at the same time, but it failed to grant, maybe as they are using different storage and keys?Describe what you'd like Logto to have
Could you please give more details about using logto (with multi-resources) and angular? Or provide a Angular SDK like VueJS directly?