Skip to content

Default application login configuration and other routing based options #994

Open
@robotdan

Description

@robotdan

Default application login configuration and other routing based options

Problem

There are some use cases that I want to solve:

We'll call the "default" URL the 302 location that is returned by FusionAuth when navigating to the root URL. For example, when navigating to https://login.pipedpiper.com, you are currently redirected to the FusionAuth admin application login form.

This default behavior may not be ideal, see #378.

Use cases:

  1. Redirect the user to the login page for one of the configured applications.
  2. Have an empty landing page that is branded, and optionally a small button to access the "admin login" which would take you to the FusionAuth admin login.
  3. Redirect to an external web page. For example, navigating to https://login.piedpiper.com may redirect you to http://piedpiper.com which would be the primary branded site page for your company.
  4. Allow the user to login w/out an application Id - and then be dropped onto a user self service landing page with options to edit your password, modify user data etc.
  5. Based upon the Host or the Referer header, modify the behavior of this workflow
    • This may allow you to change the default application based upon where the user is coming from, for example https://company-A.com or https://company-B.com. This may be helpful in white labeling or similar cases.
  6. Using a lambda, look up the user from the provided loginId and then pass that user to a lambda and allow the lambda to identify which identity provider to redirect the user to. This would be an enhanced version of the current domain based forwarding that occurs when you configure the domain option on the SAML or OIDC IdP.

Solution

TBD

Alternatives/workarounds

Use some external proxy or routing configuration to accomplish most of this.

Additional context

Add any other context or screenshots about the feature request here.

Related

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurepaid-featureTargeted for the paid editions of FusionAuth

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions