README needs to explain Machine to Machine Applications authorization
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 50/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- authorization
Direzione di ricerca
Aggiorna la sezione del README che menziona l’autorizzazione di un’applicazione per la Management API. Inizia leggendo le indicazioni esistenti sull’autorizzazione e confrontale con il percorso Machine to Machine Applications descritto nell’issue. Il lavoro è completato quando il README spiega dove autorizzare l’applicazione e aiuta a prevenire l’errore access_denied segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Checklist
- I have looked into the Readme and Examples, and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
When trying to create a client and having the proper grants enabled for my application, I still came across this error:
{"error":"access_denied","error_description":"Client is not authorized to access \"https://dev-x3r4mfeuopyc566w.us.auth0.com/api/v2/\". You need to create a \"client-grant\" associated to this API. See: https://auth0.com/docs/api/v2#!/Client_Grants/post_client_grants"} (Auth0::AccessDenied)
This was my implementation of the client:
client = Auth0Client.new(
client_id: Rails.application.credentials.auth_zero.client_id,
client_secret: Rails.application.credentials.auth_zero.secret,
domain: Rails.application.credentials.auth_zero.domain,
)
I re-read the README and missed this part: "and that the application is authorized for the Management API". I assumed that enabling the grant did this as well. After doing some research, I came across this issue that explained the need to authorize the application under "Machine to Machine Applications" in APIS.
This should probably be added to the README as:
To authorize your application for the Management API, please visit Applications > APIs > Machine to Machine Applications and then toggle the Authorize button for the application you're integrating with.
Reproduction
- Configure the grant for the application
- Create the Ruby client
- [Failure]
Additional context
No response
ruby-auth0 version
5.17.0
Ruby version
3.2.2
- Lingua principale
- Ruby
- Stelle
- 205
- Fork
- 148
- Merge medio
- 13h
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di auth0/ruby-auth0
-
Model#initialize drops every `false` value — booleans are silently lost on requests and responsesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
auth0/ruby-auth0#800 · 1 commento ·
-
feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
auth0/ruby-auth0#709 ·
-
feature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 32/100
auth0/ruby-auth0#606 · 2 commenti · 1 reazione ·
-
MFA API Bearer token issueApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
auth0/ruby-auth0#556 · 2 commenti ·
-
feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
auth0/ruby-auth0#500 · 1 commento ·
Tutte le issue di auth0/ruby-auth0
Issue simili
-
area/web interface
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
chef/mixlib-shellout#287 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno