Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[infra-go] Infra-gateway token 生成策略 #19

Closed
huoayi opened this issue Oct 2, 2023 · 0 comments
Closed

[infra-go] Infra-gateway token 生成策略 #19

huoayi opened this issue Oct 2, 2023 · 0 comments

Comments

@huoayi
Copy link
Collaborator

huoayi commented Oct 2, 2023

提问:
token 拦截具体是根据什么拦截的,我的想法是目前有两种思路

  1. 一种是有两个 token 一个是携带权限信息的token会走鉴权,一种是普通 token ,在系统中使用的通用 token ,如果鉴权系统做权限校验,那gateway这里的 token 拦截就只是系统内部使用的普通 token
  2. 只有一个token就是携带权限信息的 token ,但是这样的话相当于鉴权也在网关做了
@jettcc jettcc changed the title Infra-gateway token 拦截策略 [infra-go] Infra-gateway token 拦截策略 Oct 2, 2023
@huoayi huoayi changed the title [infra-go] Infra-gateway token 拦截策略 [infra-go] Infra-gateway token 生成策略 Oct 11, 2023
@huoayi huoayi closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant