Skip to content

Authorization app #245

@chriskapp

Description

@chriskapp

Currently every app uses the OAuth2 client_credentials (either consumer or backend) flow to login. The consumer app currently can only handle the authorization_code flow. Because of this the consumer app needs to run in HTML5 mode without hash-tag router since some OAuth2 clients cant redirect to a hash-tag route (this means the app cant be used out of the box since you need to adjust the base url). We could build a new authorization app based on PHP (Slim) which handles all authorization/login/register. In theory we could then remove the login from every app and simply start the authorization_code flow, thus we could remove the client_credentials endpoints for consumer and backend and have only one OAuth2 endpoint.

Also other developers then dont need to build a login/registration system they can simply start the same authorization_code flow by redirecting the user to the app. Also every app could then specify the needed scopes. This would then mean instead of a Login mask we would have a button saying i.e. "Login with Fusio". It should be possible to customize the templates since most users probably want to use a custom branding.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions