• SSO with OAuth2 学习过程中的弯路


    https://spring.io/blog/2015/02/03/sso-with-oauth2-angular-js-and-spring-security-part-v 文章根据配置到

    Testing the Authorization Server
    
    Our server is using the Spring Boot default security settings, so like the server in Part I it will be protected by HTTP Basic authentication. To initiate an authorization code token grant you visit the authorization endpoint, e.g. at http://localhost:9999/uaa/oauth/authorize?response_type=code&client_id=acme&redirect_uri=http://example.com once you have authenticated you will get a redirect to example.com with an authorization code attached, e.g. http://example.com/?code=jYWioI.
    
    Note: for the purposes of this sample application we have created a client “acme” with no registered redirect, which is what enables us to get a redirect the example.com. In a production application you should always register a redirect (and use HTTPS).
    

      启动eclipse里的工程,需要输入用户名密码,但spring文档里没给出,找了好久,今天在http://blog.csdn.net/neosmith/article/details/52539927这个博客里找到了,先记录:

    用户名:user  密码:password

  • 相关阅读:
    XCode 7 运行 cocos2dx 2.2.6问题小节
    SerializeField和Serializable
    convert2utf8withbom
    NGUI制作字体的三种方法
    js json stringify
    nodejs npm 使用淘宝 NPM 镜像
    js url?callback=xxx xxx的介绍
    强引用 弱引用
    关于xml里的encoding
    js 历史
  • 原文地址:https://www.cnblogs.com/judylucky/p/7488239.html
Copyright © 2020-2023  润新知