Skip to content

Resolves #488 - Adds support for one time passwords #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion external/resources/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func PublicInit() {
resourceData, err := GenerateResourceMetadataFromYaml(resourceMetaData)

if err != nil {
panic("Couldn't load the resource meta data")
panic("Couldn't load the resource meta data: " + err.Error())
}

resources = resourceData
Expand Down
18 changes: 17 additions & 1 deletion external/resources/yaml/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ integrations:
configuration.aws_secret_access_key:
type: STRING
observes[n]:
type: ENUM:address.created,address.updated,address.deleted,account.created,account.updated,account.deleted,account-member.created,account-member.updated,account-member.deleted,account-membership.created,account-membership.updated,account-membership.deleted,brand.created,brand.updated,brand.deleted,cart.updated,cart.deleted,category.created,category.updated,category.deleted,collection.created,collection.updated,collection.deleted,currency.created,currency.updated,currency.deleted,customer.created,customer.updated,customer.deleted,file.created,file.deleted,integration.created,integration.updated,integration.deleted,order.created,order.updated,order.fulfilled,order.authorized,order.paid,order.refunded,payment-gateway.updated,product.created,product.updated,product.deleted,settings.created,settings.updated,stock-transaction.created,transaction.created,transaction.updated,user-authentication-info.created,user-authentication-info.updated,user-authentication-info.deleted
type: ENUM:address.created,address.updated,address.deleted,account.created,account.updated,account.deleted,account-member.created,account-member.updated,account-member.deleted,account-membership.created,account-membership.updated,account-membership.deleted,brand.created,brand.updated,brand.deleted,cart.updated,cart.deleted,category.created,category.updated,category.deleted,collection.created,collection.updated,collection.deleted,currency.created,currency.updated,currency.deleted,customer.created,customer.updated,customer.deleted,file.created,file.deleted,integration.created,integration.updated,integration.deleted,order.created,order.updated,order.fulfilled,order.authorized,order.paid,order.refunded,payment-gateway.updated,product.created,product.updated,product.deleted,settings.created,settings.updated,stock-transaction.created,transaction.created,transaction.updated,user-authentication-info.created,user-authentication-info.updated,user-authentication-info.deleted,one-time-password-token-request.created
inventories:
singular-name: "inventory"
json-api-type: "stock"
Expand Down Expand Up @@ -1175,6 +1175,22 @@ password-profiles:
type: ENUM:any,email
name:
type: STRING
enable_one_time_password_token:
type: BOOL
one-time-password-token-requests:
singular-name: "one-time-password-token-request"
json-api-type: "one_time_password_token_request"
json-api-format: "legacy"
docs: "https://elasticpath.dev/docs/authentication/single-sign-on/password-profiles-api/create-one-time-password-token-request"
create-entity:
docs: "https://elasticpath.dev/docs/authentication/single-sign-on/password-profiles-api/create-one-time-password-token-request"
url: "/v2/authentication-realms/{authentication_realms}/password-profiles/{password_profiles}/one-time-password-token-request"
content-type: application/json
attributes:
username:
type: STRING
purpose:
type: ENUM:reset_password,passwordless_authentication
pcm-catalogs:
singular-name: "pcm-catalog"
json-api-type: "catalog"
Expand Down
Loading