custom authentication and authorization #1454
-
I would like to have slightly different login process. If user is not authenticated I would like to redirect it to custom login page and use identity server4 (or other custom way to auth user). In Oqtane client project I see App.razor CascadingAuthenticationState is used but I dont want to chage/modify file. Can I override it somehow? Also how can I create multiple/different Layouts (with or without AuthorizeView) so I can use it on multiple pages? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Oqtane currently supports a Backends for Frontends (BFF) architecture pattern using standard cookies ( it does not use access tokens or refresh tokens ). All security is implemented in the trusted back-end which supports both Blazor Server and Blazor WebAssembly hosting models. In this approach, APIs must be hosted on the same domain as the client - which is the most common deployment scenario for Oqtane. The future product roadmap does include "Authentication Extensibility" as an enhancement for the 2.2 release - however the exact scope of that feature has not yet been defined. |
Beta Was this translation helpful? Give feedback.
Oqtane currently supports a Backends for Frontends (BFF) architecture pattern using standard cookies ( it does not use access tokens or refresh tokens ). All security is implemented in the trusted back-end which supports both Blazor Server and Blazor WebAssembly hosting models. In this approach, APIs must be hosted on the same domain as the client - which is the most common deployment scenario for Oqtane.
The future product roadmap does include "Authentication Extensibility" as an enhancement for the 2.2 release - however the exact scope of that feature has not yet been defined.