asgardeo / asgardeo/javascript

feat: expose the raw `idToken` from the SDK

Aperta
#249 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
@asgardeo/nextjs @asgardeo/react
Lingua principale
TypeScript
Stelle
18
Fork
67
Merge medio
4h 6m
PR unite (30g)
13

Descrizione

### Problem

Currently, we only have the `getDecodedIdToken` API that returns an already decoded IdToken.

There are requirements that needs the raw `IdToken`

### Proposed Solution

Expose a `getIdToken` API.

### Alternatives

N/A

### Please select the package issue is related to

@asgardeo/react, @asgardeo/nextjs

### Version

current

### Reporter Checklist

- [x] I have searched the existing issues and this is not a duplicate.
- [x] I have provided all the necessary information.
- [x] I have verified the feature on the latest version of the package.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia individuando le API getDecodedIdToken esistenti nei package @asgardeo/react e @asgardeo/nextjs e leggendo i relativi test o punti di ingresso. Esponi le API raw-token corrispondenti e verifica che restituiscano il idToken non elaborato in entrambi i package.

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

Valutazione

Stack tecnologico
nextjs, react, typescript
Ambito
authentication
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.