【发布时间】:2016-12-18 06:50:41
【问题描述】:
我有一个 Angular JS 应用程序并使用 Identity Server 3 作为我的身份提供者。
用户通过 javascript 重定向到身份服务器以获取令牌,例如
https://accounts.domain.eu/connect/authorize?client_id=MyApplicationId&redirect_uri=https://www.domain.eu&response_type=id_token%20token...
身份验证成功后,IdentityService 将重定向回提供的 redirect_uri,其中 302 将重定向浏览器,location 标头包含例如
https://www.domain.eu/#id_token=eyJ0eXAiOiJKV1QiLCJhbGc...
我是否正确假设这是安全的,因为 location 标头值将使用 HTTPS 进行加密,并且对于查看 HTTP 请求的人不可用?
【问题讨论】:
标签: openid-connect identityserver3