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

OAuth 2.0 server dose not work #207

Closed
takeshishimada opened this issue Feb 12, 2019 · 0 comments
Closed

OAuth 2.0 server dose not work #207

takeshishimada opened this issue Feb 12, 2019 · 0 comments
Labels
bug Something isn't working wip Work in progress

Comments

@takeshishimada
Copy link
Member

takeshishimada commented Feb 12, 2019

#138

https://github.com/cactacea/backend/blob/master/libs/filhouette/src/main/scala/io/github/cactacea/filhouette/api/actions/SecuredAction.scala#L176

authenticator.initの後にclaimに権限を渡せるようにする
Authroizationを継承した権限一覧を作成する
シフト演算で権限の値を表す

CactaceaScopeクラスを作成する
permission <- ビット演算子 1 < 0などで表す

CactaceaAuthorizationクラスを作成する
 コンストラクタ引数はscope

CactaceaAuthenticationFilterを改造する
 コンストラクタ引数はscope

@takeshishimada takeshishimada added the bug Something isn't working label Feb 12, 2019
@takeshishimada takeshishimada added the wip Work in progress label Jul 11, 2019
@takeshishimada takeshishimada changed the title OAuth server seems dose not work OAuth server dose not work Jul 18, 2019
@takeshishimada takeshishimada changed the title OAuth server dose not work OAuth 2.0 server dose not work Jul 18, 2019
takeshishimada added a commit that referenced this issue Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wip Work in progress
Projects
None yet
Development

No branches or pull requests

1 participant