Skip to content

Commit d18aba7

Browse files
authored
Merge pull request #137 from SecureAuthCorp/feature/cc-rar
Pass RAR to the token endpoint
2 parents 62672f1 + 0f78913 commit d18aba7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

internal/oauth2/oauth2.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,10 @@ func RequestToken(
464464
if len(cconfig.Audience) > 0 {
465465
request.Form.Set("audience", strings.Join(cconfig.Audience, " "))
466466
}
467+
468+
if len(cconfig.RAR) > 0 {
469+
request.Form.Set("authorization_details", cconfig.RAR)
470+
}
467471
}
468472

469473
switch cconfig.GrantType {

0 commit comments

Comments
 (0)