Upload app.py
Browse files
app.py
CHANGED
|
@@ -236,10 +236,12 @@ def main():
|
|
| 236 |
st.error(f"Connection failed: {str(e)}")
|
| 237 |
else:
|
| 238 |
st.markdown("#### 🔐 SAP-RPT-1 Bearer Token")
|
|
|
|
| 239 |
token_input = st.text_input("SAP-RPT-1 Bearer Token",
|
| 240 |
value=st.session_state.token,
|
| 241 |
type="password",
|
| 242 |
help="Enter your SAP-RPT-1 API token.")
|
|
|
|
| 243 |
|
| 244 |
if st.button("Test Connection", width="stretch"):
|
| 245 |
if token_input:
|
|
|
|
| 236 |
st.error(f"Connection failed: {str(e)}")
|
| 237 |
else:
|
| 238 |
st.markdown("#### 🔐 SAP-RPT-1 Bearer Token")
|
| 239 |
+
st.markdown("[📄 Get API Token](https://rpt.cloud.sap/docs)", help="Click to open SAP RPT documentation")
|
| 240 |
token_input = st.text_input("SAP-RPT-1 Bearer Token",
|
| 241 |
value=st.session_state.token,
|
| 242 |
type="password",
|
| 243 |
help="Enter your SAP-RPT-1 API token.")
|
| 244 |
+
st.caption("🔒 **Security Note:** Treat this token like a password. Never commit it to version control or share it in public forums.")
|
| 245 |
|
| 246 |
if st.button("Test Connection", width="stretch"):
|
| 247 |
if token_input:
|