mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Fixed imports from project name change
This commit is contained in:
parent
02cbc2f2eb
commit
6c0f1303ac
3 changed files with 9 additions and 7 deletions
|
|
@ -1,9 +1,9 @@
|
|||
package cmd
|
||||
|
||||
import (
|
||||
"davidallendj/opal/internal/oauth"
|
||||
"davidallendj/opal/internal/oidc"
|
||||
"davidallendj/opal/internal/util"
|
||||
"davidallendj/opaal/internal/oauth"
|
||||
"davidallendj/opaal/internal/oidc"
|
||||
"davidallendj/opaal/internal/util"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
|
|
|
|||
|
|
@ -107,11 +107,11 @@ var loginCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
// fetch JWKS and add issuer to authentication server to submit ID token
|
||||
jwk, err := api.FetchJwk("")
|
||||
err = idp.FetchJwk("")
|
||||
if err != nil {
|
||||
fmt.Printf("failed to fetch JWK: %v\n", err)
|
||||
} else {
|
||||
api.AddTrustedIssuer(config.AuthEndpoints.TrustedIssuers, jwk.(string))
|
||||
api.AddTrustedIssuer(config.AuthEndpoints.TrustedIssuers, idp.Key)
|
||||
}
|
||||
|
||||
// use ID token/user info to fetch access token from authentication server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue