Rui Yang and Aidan Oldershaw
2f28fc7451
default to ./web when Dir and WebFS are not set
...
update WebFS doc
Signed-off-by: Rui Yang <ruiya@vmware.com >
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io >
2021-03-20 20:05:59 +00:00
Rui Yang and Aidan Oldershaw
4e569024fd
use go 1.16 new package io/fs
...
Unify the interface for reading web statics. Now it could read an
OS directory or get the content on live
One could use
//go:embed static
var webFiles embed.FS
anywhere and config dex server to take the file system by setting
WebConfig{WebFS: webFiles}
Signed-off-by: Rui Yang <ruiya@vmware.com >
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io >
2021-03-20 20:05:59 +00:00
Rui Yang and Vikram Yadav
7b50cbf0ac
use pkger for embedding static contents
...
Co-authored-by: Vikram Yadav <vyadav@pivotal.io >
Signed-off-by: Rui Yang <ruiya@vmware.com >
2021-03-20 20:05:59 +00:00
Rui Yang and Aidan Oldershaw
1eab25f89f
use web host url for asset hosting
...
Signed-off-by: Rui Yang <ruiya@vmware.com >
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io >
2021-03-20 20:05:59 +00:00
Rui Yang and Josh Winters
bd2234cd12
Add constructor for static key strategy
...
Co-authored-by: Josh Winters <jwinter@pivotal.io >
Signed-off-by: Rui Yang <ruiya@vmware.com >
2020-10-01 15:32:23 -04:00
Rui Yang
058202d007
revert changes for user id and user name
...
Signed-off-by: Rui Yang <ruiya@vmware.com >
2020-09-08 13:12:59 -04:00
Rui Yang
0494993326
update oidc documentation and email claim err msg
...
Signed-off-by: Rui Yang <ruiya@vmware.com >
2020-09-08 10:03:57 -04:00
Rui Yang
41207ba265
Combine #1691 and #1776 to unify OIDC provider claim mapping
...
add tests for groups key mapping
Signed-off-by: Rui Yang <ruiya@vmware.com >
2020-08-11 16:26:55 -04:00
Rui Yang
4812079647
add tests when preferred username key is not set
...
Signed-off-by: Rui Yang <ruiya@vmware.com >
2020-08-11 16:26:55 -04:00