Skip to content

Different start page for authenticated vs non-authenticated users #2113

@EuroNode

Description

@EuroNode

Hello,

I want to build login page as normal Piranha page from blocks. I made login blocks which allow different kinds of logins and everything works quite well there.

The problem I have is how to make a different page to be a start page for authenticated users?

For different kinds of authenticated users I have pages relying on claims (strict authenticated (like EU e-signature, etc), self-registered and so on). But for unauthenticated users to be able to access that page I can't set any required claims to it. And then it gets to be start page for everyone, even authenticated users.

Could you suggest me a workaround for this?

Another question I have: can I get list of pages containing specific type of block via API?

And one suggestion: would be nice to have "singleton" blocks - blocks which can only be inserted into a single page once. I would have a lot of use for such blocks - not only these login blocks, but also all kind of special blocks like map blocks, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions