mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
Update AuthorizeBaseEndpoint.java
This commit is contained in:
parent
1506a29a70
commit
19e9a5f709
@ -103,13 +103,15 @@ public class AuthorizeBaseEndpoint {
|
||||
|
||||
public ModelAndView initCredentialView(String appId,String redirect_uri){
|
||||
String initCredentialURL =
|
||||
"redirect:" +
|
||||
"" +
|
||||
applicationConfig.getFrontendUri() +
|
||||
"/#/authz/credential?appId=%s&redirect_uri=%s";
|
||||
|
||||
initCredentialURL = String.format(initCredentialURL,appId, redirect_uri);
|
||||
_logger.debug("redirect to {}.",initCredentialURL);
|
||||
return new ModelAndView(initCredentialURL);
|
||||
ModelAndView modelAndView =new ModelAndView("redirect");
|
||||
modelAndView.addObject("redirect_uri", initCredentialURL);
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user