Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.2
-
None
-
Unknown
Description
Using the DefaultEncryptingOAuthDataProvider in 3.0.2-SNAPSHOT, I always get an error about invalid redirect uris, despite setting the correct redirect uri when registering the client and when making the authorize code grant request.
I stepped through the debugger and tracked it down to the tokenization of the client in ModelEncryptionSupport. The redirect uris and registered scopes are swapped when tokenizing/recreating the client object.