I have added a Basic Authorization Security Scheme to my SmartDocs model.
This shows likes this:
However I would like to use the client-id and client-secret instead of email and password.
Can I change this popup?
Solved! Go to Solution.
I fixed it.
Go to: SmartDocs > {your model} > Security Settings.
Click on the "Template Auth Settings" link.
Then in the "Method Template" box you can change how the security schemes behave.
This is what I changed:
<div> <form> <div></div> <div> <label for="inputEmail">Client ID</label> <input type="text" id="inputEmail" placeholder="Client ID"/> </div> <div> <label for="inputPassword">Client Secret</label> <input type="password" id="inputPassword" placeholder="Client Secret"/> </div> </form> </div>
And this is the result:
I fixed it.
Go to: SmartDocs > {your model} > Security Settings.
Click on the "Template Auth Settings" link.
Then in the "Method Template" box you can change how the security schemes behave.
This is what I changed:
<div> <form> <div></div> <div> <label for="inputEmail">Client ID</label> <input type="text" id="inputEmail" placeholder="Client ID"/> </div> <div> <label for="inputPassword">Client Secret</label> <input type="password" id="inputPassword" placeholder="Client Secret"/> </div> </form> </div>
And this is the result:
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |