Skip to content

Commit

Permalink
sso
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzheng422 committed Dec 22, 2024
1 parent 7d0b49f commit e351f55
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions redhat/ocp4/4.16/2024.12.azure.sso.without.group.sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ Then, go to `app registration` -> `manifest`, backup existed manifest, and make
> [!NOTE]
> remember to backup the manifest before you make any changes.
Reference:
- https://github.com/MicrosoftDocs/entra-docs/blob/main/docs/identity/hybrid/connect/how-to-connect-fed-group-claims.md#configure-the-microsoft-entra-application-registration-for-group-attributes

![](imgs/2024.12.azure.sso.without.group.sync.md/2024-12-20-22-19-48.png)


Expand Down Expand Up @@ -484,6 +487,35 @@ You can see 2 groups synced, which is l1.u01 belongs to.
![](imgs/2024.12.azure.sso.md/2024-12-19-22-26-30.png) -->

# show me the code

In openshift oauth-server code, we can see openid related code
- https://github.com/openshift/oauth-server/blob/release-4.16/pkg/oauth/external/openid/openid.go
```go
......
type Config struct {
ClientID string
ClientSecret string

Scopes []string

ExtraAuthorizeParameters map[string]string

AuthorizeURL string
TokenURL string
UserInfoURL string

IDClaims []string
PreferredUsernameClaims []string
EmailClaims []string
NameClaims []string
GroupClaims []string

IDTokenValidator TokenValidator
}
......
```

# end


Expand Down

0 comments on commit e351f55

Please sign in to comment.