mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
authenticate: implement hpke-based login flow (#3779)
* urlutil: add time validation functions * authenticate: implement hpke-based login flow * fix import cycle * fix tests * log error * fix callback url * add idp param * fix test * fix test
This commit is contained in:
parent
8d1235a5cc
commit
57217af7dd
25 changed files with 656 additions and 661 deletions
|
@ -60,7 +60,7 @@ func (s *State) WithNewIssuer(issuer string, audience []string) State {
|
|||
}
|
||||
|
||||
// UserID returns the corresponding user ID for a session.
|
||||
func (s *State) UserID(provider string) string {
|
||||
func (s *State) UserID() string {
|
||||
if s.OID != "" {
|
||||
return s.OID
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue