-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Scopes provided in the AuthorizationRequest given to openIdProvider.authorize are not included in the resulting URI.
Expected behavior
Expected URI should be
Actual behavior
Actual URI is
How to reproduce?
import java.net.URI
val openIdProvider = OpenIdProvider(URI.create("https://login.inrupt.com"), DPoP.of())
val authRequest = AuthorizationRequest.newBuilder()
.responseType("code")
.scope("openid").scope("webid").scope("offline_access")
.build("<client-id-from-reponse>", URI.create("http://localhost:8080/callback"))
val request = Request.newBuilder()
.uri(openIdProvider.authorize(authRequest).toCompletableFuture().get())
.GET()
.build()
return "redirect:${request.uri()}"Output of java -version
No response
Maven version
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working