At least one redirect_uri must be registered with the client

visit this address
http://localhost:10002/oauth/authorize?response_type=code&client_id=awbeci&redirect_uri= http://www.awbeci.cn&scope=all
and report the following error after logging in:

Handling OAuth2 error: error="invalid_request", error_description="At least one redirect_uri must be registered with the client."

clipboard.png


address cannot be accessed


solved, add the following paragraph

to the application.properties
-sharp,
security.oauth2.client.registered-redirect-uri=http://example.com

clients
    .inMemory()
    .withClient("awbeci")
    .redirectUris("http://www.awbeci.cn&scope=all")
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-49ab021-10b5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-49ab021-10b5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?