This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/server
Monis Khan 3009ae3b5d
Return valid JWT access token from password grant
This change updates the password grant handler to issue a valid JWT
access token instead of just returning a random value as the access
token.  This makes it possible to use the access token against the
user info endpoint.

Signed-off-by: Monis Khan <i@monis.app>
2021-08-11 14:57:58 -04:00
..
internal chore(deps): upgrade protobuf in server/internal package 2021-03-22 19:27:47 +01:00
api.go Discard package "version" (#2107) 2021-05-18 00:55:24 +02:00
api_test.go Discard package "version" (#2107) 2021-05-18 00:55:24 +02:00
deviceflowhandlers.go Make /device/token deprecation warning more concise 2021-02-25 11:53:25 +04:00
deviceflowhandlers_test.go Add gocritic 2020-10-18 01:54:27 +04:00
doc.go initial commit 2016-07-26 15:51:24 -07:00
handlers.go Return valid JWT access token from password grant 2021-08-11 14:57:58 -04:00
handlers_test.go handlePasswordGrant: insert connectorData into OfflineSession (#2199) 2021-07-21 00:05:35 +04:00
oauth2.go Improve auth flow error handling 2021-07-21 09:33:39 +02:00
oauth2_test.go Improve auth flow error handling 2021-07-21 09:33:39 +02:00
refreshhandlers.go Update server/refreshhandlers.go 2021-03-09 09:41:41 +04:00
refreshhandlers_test.go More refresh token handler refactoring, more tests 2021-02-10 23:43:19 +04:00
rotation.go Fixes of naming and code style 2021-02-10 23:37:57 +04:00
rotation_test.go Fixes of naming and code style 2021-02-10 23:37:57 +04:00
server.go fix: add an extra endpoint to avoid refresh generating AuthRequests. 2021-05-21 11:42:52 +01:00
server_test.go Improve auth flow error handling 2021-07-21 09:33:39 +02:00
templates.go Merge pull request #1865 from WorldProgrammingLtd/fix-1849 2021-06-25 19:05:41 +02:00
templates_test.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00