Skip to content

Commit f86c627

Browse files
committed
Add TokenID into code entry
1 parent 6019743 commit f86c627

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

token_store.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ func (ts *TokenStore) Create(ctx context.Context, info oauth2.TokenInfo) (err er
211211
// Create the basicData document
212212
basicData := basicData{
213213
ID: code,
214+
TokenID: code,
214215
UserID: info.GetUserID(),
215216
Data: jv,
216217
UIData: uiData,

0 commit comments

Comments
 (0)