You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to implement LogTo in an existing Angular 20 client application. This is a multi-tenancy application that we want to map with LogTo organisations.
We have currently implemented a login flow with angular-auth-oidc-client. The login should be done without resources so that we receive all assigned organisations for tenant selection. This part works.
Problem
Now we are at the point where we would like to read and validate the respective organisation and API permissions in the backend API. To do this, we want to select an organisation and redeem a so-called organisation token so that we receive all permissions or scopes for the current user and the organisation.
Unfortunately, we cannot find a complete and working example for an Angular 20 application with angular-auth-oidc-client and an organisation token. We were unable to adapt the React example to Angular because we could not find the necessary methods in the libraries for Angular.
We would be very grateful if you could provide us with a complete LogTo example. This would enable us to find out how we can use LogTo and its libraries in Angular.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to implement LogTo in an existing Angular 20 client application. This is a multi-tenancy application that we want to map with LogTo organisations.
TechStack
Frontend: Angular 20
Backend: Asp.net 9 and FastEndpoint (https://fast-endpoints.com/)
Situation
We have currently implemented a login flow with angular-auth-oidc-client. The login should be done without resources so that we receive all assigned organisations for tenant selection. This part works.
Problem
Now we are at the point where we would like to read and validate the respective organisation and API permissions in the backend API. To do this, we want to select an organisation and redeem a so-called organisation token so that we receive all permissions or scopes for the current user and the organisation.
Unfortunately, we cannot find a complete and working example for an Angular 20 application with angular-auth-oidc-client and an organisation token. We were unable to adapt the React example to Angular because we could not find the necessary methods in the libraries for Angular.
React Multi-Tenant Example: https://blog.logto.io/de/multi-tenant-saas-applikation-erstellen
We would be very grateful if you could provide us with a complete LogTo example. This would enable us to find out how we can use LogTo and its libraries in Angular.
Thank you very much for your support.
Beta Was this translation helpful? Give feedback.
All reactions