NbOAuth2AuthStrategy with Code Flow + PKCE
- Ngôn ngữ chính
- TypeScript
- Star
- 8.1k
- Fork
- 1.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
hi
i want implement NbOAuth2AuthStrategy with Code Flow + PKCE
my code is
```
strategies: [
NbOAuth2AuthStrategy.setup({
name: 'identity',
baseEndpoint: "http://localhost:5000/connect/",
clientId: "clientid",
clientAuthMethod: NbOAuth2ClientAuthMethod.NONE,
redirect: {
success: "/",
//failure: "string"
},
authorize: {
scope: 'openid profile email',
redirectUri: 'http://localhost:4200/#/pages/callback',
responseType: NbOAuth2ResponseType.CODE
},
token: {
endpoint: 'token',
grantType: NbOAuth2GrantType.AUTHORIZATION_CODE,
class: NbAuthJWTToken
}
}),
],
```
but this code dont generate
> code_challenge
> code_challenge_method
> nonce
i want do it like this [linke](https://www.npmjs.com/package/angular-oauth2-oidc)
how i can do it ?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.