@fred-fred said in Is there an example of how to authorize a user to an app and allow them to access after using the login API?:
May I ask, why do you have /API/Login if all it really does is authenticate but not authenticate and authorize like the Login pages?
I'm not sure I totally understand the premise of the question. I hear your frustration, however.
The Login API provides a JWT, which can be used for authorization. It seems like you are looking for configurable SSO which is, as I understand it, a different thing.
Our SSO implementation (like almost every other SSO implementation for web browsers) depends on cookies, which are not really something you can set with a backend API in a effective way (because the cookies have to be set by the component responding the browser, which the Login API will not be.) If there's an SSO implementation that is available via an API, please share that as we're always looking to improve.
When you use the Login API, you have complete custom control over every aspect of the UX. But with great power comes great responsibility š , and part of that responsibility is re-implementing SSO.