passwordless_otp option in grant_types option for clients.

This issue has been created since 2022-04-04.

Describe the problem

Hello, when I try to provide the "passwordless_otp" option in client_grants
grant_types = [ "authorization_code", "implicit", "refresh_token", "client_credentials", "passwordless_otp" ]

the provider gives me Error: 400 Bad Request: Invalid grant types: passwordless

What was the expected behavior?

I expected to be able to provision this. I have also tried saying "passwordless" too.

Reproduction

Two of us have tried with the same results.

Environment

required_providers {
auth0 = {
source = "auth0/auth0"
version = "0.27.0"
}

sergiughf wrote this answer on 2022-04-04

Hey @bourbonfgiles 👋🏻 thanks for opening this. The error the API throws seems accurate as passwordless is not a valid grant_type.

If you check the Docs at https://auth0.com/docs/get-started/applications/application-grant-types#available-grant-types you'll have listed all the available grant_types you can specify when creating a client.

tldr; you should specify http://auth0.com/oauth/grant-type/passwordless/otp and not just passwordless_otp.

Hope this helps, let me know if you encounter any other issues!

Shilaghae wrote this answer on 2022-04-04

Hey @sergiughf In the link you posted there is not http://auth0.com/oauth/grant-type/passwordless/otp? but I can still see it here which one is correct?

sergiughf wrote this answer on 2022-04-04

@Shilaghae, that's correct. Let me update the message. Thanks for spotting it.

In the API Docs at https://auth0.com/docs/api/management/v2#!/Clients/post_clients not all the available ones are listed. The full extensive list is available at https://auth0.com/docs/get-started/applications/application-grant-types#available-grant-types as you mention above.

Apologies for the confusion!

Does this help solve the issue you've been having?

sergiughf wrote this answer on 2022-04-04

Config example:

resource "auth0_client" "my_client" {
  // ...
  grant_types = [ "authorization_code", "implicit", "refresh_token", "client_credentials", "http://auth0.com/oauth/grant-type/passwordless/otp" ]
 // ...
}
Shilaghae wrote this answer on 2022-04-04

Nice one! I will try it on!

bourbonfgiles wrote this answer on 2022-04-04

@sergiughf Thank you again!

sergiughf wrote this answer on 2022-04-04

Awesome, happy to help! I'll close this down then if there's nothing else:)

More Details About Repo
Owner Name auth0
Repo Name terraform-provider-auth0
Full Name auth0/terraform-provider-auth0
Language Go
Created Date 2022-02-01
Updated Date 2022-08-09
Star Count 75
Watcher Count 11
Fork Count 30
Issue Count 24

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Element centered on page moving down near to bottom right when I hover over the div. 2 2021-02-10 2022-07-25
[DEFECT] VarGroups can't be used in the "inner" outstream dataobjects 1 2022-04-28 2022-07-17
CALL H2GIS_SPATIAL() after CALL SHPRead not possible 1 2021-03-11 2022-08-08
Error in on_pose() when myo is unsynced 2 2022-01-21 2022-07-04
Native callback doesn't invoke action in c# 2 2021-02-24 2022-07-09
12.0.2 Maximum call stack size exceeded 10 2021-08-06 2022-07-20
CI: Check for licenses and exceptions being in the proper directory 1 2022-07-14 2022-08-05
download free - pay to do a mocked fixed response. shady practice!! by a greedy company. 2 2021-08-09 2022-07-23
Slack invitation has expired 2 2021-12-01 2022-07-23
shodan.exception.APIError: The search request timed out or your query was invalid. 1 2021-01-13 2022-07-29
openwrt 19.07.3 vlmcsd1.02.1 luci 1 2020-06-13 2022-08-05
[Feature Request] Consider supporting https://leetcode.cn/ which is the chinese version leetcode 0 2022-07-16 2022-08-05
re-link leethub repo should retain previous stats from the repo and should be allowed to re-commit to existing directories 0 2022-07-19 2022-08-05
# need feature to commit again when already submitted once 0 2022-07-15 2022-08-05
XML format: is "XML data" a document or an element? 2 2022-04-29 2022-07-21
use plot colors that compensate for colorblindness 7 2021-07-08 2022-07-25
Custom positioned watermark 1 2022-03-21 2022-08-06
Implement ability to run addon-checker locally without pre-commit 0 2021-08-30 2021-12-08
returning claims from user_info as X-Vouch-IdP-Claims-* headers 12 2020-03-08 2022-07-18
False positive with 'contains' (?) 5 2019-02-25 2022-08-06
can we get unobtrusive validation attributes by ViewModel Type 2 2021-03-22 2022-07-31
Ability to run tests in hidden GUI 1 2019-06-17 2022-08-05
Loadbalancer healthchecks report error despite node ports connectable 1 2021-06-22 2022-08-02
Extension Link broken in Readme 3 2021-03-26 2022-07-25
[URGENT ! issue] This = https://piped.kavin.rocks/https://piped.kavin.rocks/watch?v=pAgnJDJN4VA&feature=youtu.be&listen=1 1 2022-07-13 2022-08-12
Import from JSON doesn't work 9 2022-07-13 2022-08-12
Unable to start direct chat with user who first name and last name are blank 0 2022-04-15 2022-07-23
How use this for export by api ? 1 2020-10-11 2022-07-25
Unable to use dynagrid and dynagridOptions to select columns 2 2018-12-30 2022-07-16
Mutable parameters and captures 7 2021-09-06 2022-08-04
Bug/No logrotate configuration in crowdsec 1.2.1 rpm 1 2021-12-10 2022-08-06
Stuck in the createstack 2 2018-11-06 2022-08-03
release: Where are the MacOS ARM archives ...? 6 2021-09-02 2022-08-12
Event Request Table 5741 "Transfer Line" OnBeforeGetReservationQty 1 2022-03-28 2022-08-04
chore(deps): bump y18n from 4.0.0 to 4.0.1 0 2021-03-30 2022-06-17
Plans for bleedingEdge 1 2019-05-02 2022-08-05
Write current version in target/release-info 2 2021-04-16 2022-04-10
[BUG] Steps/mm halved after update from 2.0.X 2 2022-07-15 2022-08-07
TransposeMLCBytes nullptr error during training process 1 2021-05-31 2022-08-10
Debian install script failing on new v7 box 1 2014-07-28 2022-07-26
Remote Relationships for MS SQL Databases 3 2022-05-23 2022-07-18
App crash on reset then Error Domain=CBATTErrorDomain Code=14 “Peer removed pairing information” 1 2020-08-17 2022-07-21
Ability to save image in tar 1 2019-11-05 2022-07-22
templating with other glyphs 0 2015-08-25 2022-01-24
samd: USB interface locks up when input symbols arrive too fast. 11 2022-04-11 2022-08-07
循环轮播问题 antd mobile v5.0.0 3 2021-10-28 2022-08-02
Automated cherry pick of #100720: Fix buckets initialization 5 2021-08-23 2022-02-04
Github issue template for new checkers 2 2021-07-21 2022-08-07
Cloud SQL Proxy Support for the image built by Build Pack 0 2021-03-19 2022-08-10
bug(mat-menu): close mat-menu on mouse leave - it starts flickering 2 2021-08-28 2022-02-05