mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-17 04:03:23 +08:00
Add /api/oauth/code API.
This commit is contained in:
@ -88,6 +88,16 @@ class TokenEditPage extends React.Component {
|
||||
}} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={2}>
|
||||
{i18next.t("general:Authorization Code")}:
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<Input value={this.state.token.code} onChange={e => {
|
||||
this.updateTokenField('code', e.target.value);
|
||||
}} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={2}>
|
||||
{i18next.t("general:Access Token")}:
|
||||
|
Reference in New Issue
Block a user