Skip to content

Add authentication service discovery to login service providing REST API authorization #199

@adamkorynta

Description

@adamkorynta

Is your feature request related to a problem? Please describe.
Currently, the REST API does not have service discovery for the authentication mechanism for the service. The PR: #186 added support for JWT and servlet SSO authorization, but it did not implement a discovery mechanism. Failed authorization results in a 401 error code and a simple message.

Describe the solution you'd like
An idea brought up in discussion was to use HATEOAS in the response and return relevant URL's for directing the client to where to obtain the initial token, refresh token, or login endpoint.

Describe alternatives you've considered
Adding a discovery endpoint could also work, but HATEOAS leads to more flexibility for adding other relevant links in the API for endpoint discovery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions