WSO2身份服务器JWT访问令牌 [英] WSO2 Identity Server JWT Access token

查看:120
本文介绍了WSO2身份服务器JWT访问令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用密码grant_type登录时从WSO2 Identity Server接收JWT access_token. 但是我找不到任何配置方法.登录后,我会得到一个名为access_token的GUID.

I'm trying to receive a JWT access_token from WSO2 Identity Server when logging in with password grant_type. But I can't find any way to configure this. When I sign in I get a guid as access_token.

我找到了,但这是在拥有JWT时获取access_token guid的方法: https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type

I found this, but this is the way to get the access_token guid when you have a JWT: https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type

我也使用本教程启用了JWT令牌生成,但是我仍然收到向导:

Also I enable JWT Token generation using this tutorial, but I'm still receiving the guid: https://docs.wso2.com/display/IS510/JWT+Token+Generation

当我在identity.xml中设置为true时,我得到一个base64哈希的access_token,但这不是JWT格式.

When I set true in identity.xml I get a base64 hashed access_token, but this is not in JWT format.

有人知道吗?

推荐答案

您可能需要关注

you may want to follow this blog to generate JWT access token with WSO2 IS

此外,您可能希望点击此链接以进行推送数据库架构更改生效

also, you might want to follow this link to push the database schema changes into effect

这篇关于WSO2身份服务器JWT访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆