Generate a Two Factor secret that can be used to enable Two Factor authentication for a User. The response will contain both the secret and a Base32 encoded form of the secret which can be shown to a User when using a 2 Step Authentication application such as Google Authenticator.

get/api/two-factor/secret

Request

  • Base URL: http://localhost:9011
  • URL: http://localhost:9011/api/two-factor/secret
  • Auth: HTTP bearer

Response

Success

secretstring
secretBase32Encodedstring

Changes

No recorded changes to this operation across all 1 revision of this API.