Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Create first time setup endpoint #223

Merged
merged 4 commits into from
Sep 6, 2015
Merged

Conversation

adalinesimonian
Copy link
Member

New features

  • If no users with the authority role exist in the database, the server allows the use of a setup REST endpoint to create the first authority user and register the CLI client. A token, saved to the keys directory, is required to prevent the endpoint from being used by an opportunist
  • All providers now support a hidden boolean property which hides the provider off the sign-in screen
  • The password provider can be limited to only authenticate users with a certain role using the allowRoles array property on the provider configuration

To implement this, there are two new features:

- All providers now support a `hidden` boolean property which hides the provider off the sign-in screen
- The password provider can be limited to only authenticate users with a certain role using the `allowRoles` array property on the provider configuration
@christiansmith
Copy link
Member

Reviewed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants