Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular Spring Oauth2 PKCE授权_Angular_Spring Security_Oauth 2.0_Spring Oauth2_Pkce - Fatal编程技术网

Angular Spring Oauth2 PKCE授权

Angular Spring Oauth2 PKCE授权,angular,spring-security,oauth-2.0,spring-oauth2,pkce,Angular,Spring Security,Oauth 2.0,Spring Oauth2,Pkce,我正在配置spring oauth2以使用PKCE授权。如果我在浏览器上测试它,它会按预期工作,但我在推动角度部分时遇到一些问题,因为在我进入以下位置后,会返回默认的spring安全登录表单: http://localhost:8080/oauth/authorize?response_type=code&client_id=public&redirect_uri=http://public-client/&scope=read&code_challenge=4c

我正在配置spring oauth2以使用PKCE授权。如果我在浏览器上测试它,它会按预期工作,但我在推动角度部分时遇到一些问题,因为在我进入以下位置后,会返回默认的spring安全登录表单:

http://localhost:8080/oauth/authorize?response_type=code&client_id=public&redirect_uri=http://public-client/&scope=read&code_challenge=4cc9b165-1230-4607-873b-3a78afcf60c5

我遵循了本教程:

您需要更好地描述您的问题。在该教程中没有提到使用angular,因此获得spring身份验证有点困难expected@Xesenix我的问题是如何替换自动登录表单?您需要替换
/oauth/authorize
上提供的内容,但我不知道该在哪里替换在那个例子中找到它