Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow using custom ObjectMapper for JWTParser

Aperta
#664 3 commenti 5 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
java

Direzione di ricerca

Inizia dal costruttore JWTParser(ObjectMapper objectmapper) menzionato nell’issue e verifica come JWTParser crea e utilizza il proprio mapper. Conferma la visibilità appropriata e verifica che i chiamanti possano fornire un mapper Jackson configurato con il modulo Kotlin; il mapper personalizzato deve essere utilizzato durante il parsing dei dati JWT.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature request
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.
Describe the problem you'd like to have solved

I would like to use my custom ObjectMapper with the JWTParser.
I'm using kotlin and the default ObjectMapper is not equipped with the jackson kotlin module.
I see there is a constructor JWTParser(ObjecMapper objectmapper) but unfortunately its package private, so I have no possibility to use it.

Describe the ideal solution

Make the JWTParser(ObjecMapper objectmapper) constructor protected/public

Alternatives and current workarounds

As a current workaround I'm working with @JsonProperty annotations on my POJOs to make it work with the default ObjectMapper.

Additional context

No response

Lingua principale
Java
Stelle
6.2k
Fork
947
Merge medio
52m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di auth0/java-jwt

Tutte le issue di auth0/java-jwt

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.